Hello Michelle,
here some more hints on how to solve your problem:
In order to add empty elements, which could be filled by an edit tag, you can use the tag type=‘insert’ (see Docu Tips and Tricks/Adding and Deleting Elements for further details)
If you like to remove empty elements before commit you could change the method updateDocument() in class SingleBusinessDocument in the way that fields within the to-be-committed document tree are checked if they are empty before commit is actually performed. If this is true they could be removed.
The functionality you requesting here is basically the possibility of adding business logic to the action JSP tags perform. This concept is currently not implemented in X-Application (that’s why I recommended to edit the java code directly), but it has a high priority and will be available in a future version for sure.
I hope the hints helped you a bit
Cheers
Stefan Schwalm
Software AG, Darmstadt
#webMethods#Tamino#API-Management