The WmTemplateDescriptor Methods
To modify and enhance the default behavior of WmTemplateDescriptor, use the following WmTemplateDescriptor methods:
createFieldMap
Use this method to organize parameters into columns of a single table widget. For more information, see
Field Maps.
createTuple
This method is another "grouping" mechanism that you can use to modify the behavior of a resource domain lookup, and how resource domain values are applied in a field map. For more information, see
Tuples.
setMultiline
Changes the widget from a standard text box to a multi-line text box. This widget also supports text import from files. The resulting parameter value may include embedded returns.
setResourceDomain
Some of these methods have implicit order requirements because they build on activities performed in previous methods calls. For example, call setDescriptions after the final call to createGroup so that the resource bundle lookups can include all groups defined in the service. Use the calls in the following order:
1. createGroup
2. createFieldMap
3. createTuple
4. setResourceDomain
5. setDescriptions
Note:
If you create tuples, make setResourceDomain calls for tuple parameters in the order in which the parameters are set in the tuple.