Page Automation Labels Builder
In this topic ...
Use this builder to define labels for any or all of the Page Automation elements in a model. The label values you supply to this Builder become the defaults for the chosen elements. But, we can still override settings made in this Builder when using a resource bundle. By collecting all the labels in a model in one place, this Builder makes the label-setting task more convenient. In addition, we can profile these values to provide an alternative to resource-bundle-based localization.
This builder modifies the "Label" field of each of the chosen elements in the page automation tree. When HTML code is generated for these elements, the labels values set by this builder are used, unless some other builder has arranged for further overrides (as might be the case if the Data Page Builder specifies a resource bundle.)
How do I...
Set New Label Values For A Collection Of Fields?
Add a Page Automation Labels builder call to the model. Note that this builder call must come after the builder calls that generate the elements that this Builder modifies. To ensure that this is the case, add this builder to the end of the Builder Call list.
Select the scope of elements whose labels you want to change. To select all of the labels, set the "Elements" input to "All". If you re only interested in a subset of the labels in the model and the labels you want to change share a common container, we can set "Elements" to "Only in selected container" and then choose that container in the "Container" input.
Set the labels for the elements by typing values in the "Labels" table.
Specifying Inputs
The Applet builder takes the inputs described in the table below. For help on inputs common to many or all builders such as those in the Properties input group, see "Using the Builder Call Editor"
Input Name Description Name Enter a name for this builder call. The Designer displays this name in the Builder Call List. Elements Select the element group that contains the fields you want to work with. We can choose:
- All - To work with all fields in the model
- Only in Selected Container - To work with the fields included in a specific container
Container This input is visible when "Only in selected Container" is the Elements type. Select the root container of all the fields that are to have their labels set.
If this setting is left blank, all fields in the model are presented
Refresh Element List Press this button that rebuild the "Labels" input below based on the selected container(s) Labels This table displays the labels included in the model or selected container. Use this table to change element labels as desired.
- Element -This column displays a page automation field selector
- Label - This column displays the value to use for the element label
For example: the column element:
[translatedLabelPage]translatedLabelPage/Order/ShipTo/Zip
might have a label:
Zip Code