Simple Multiple Text Custom builder
This builder can be used to set the text on multiple elements on a page. This can be achieved by adding multiple 'Text' builders for each location on a page but with this builder all those multiple builders can be replaced with this single builder hence reducing the number of builders in a model. This is similar to the out of the box Multiple attribute setter builder and it reduces the number of Text builders we use per model.
For example there are 3 page locations on which Text builder is applied to dynamically control the Text of those elements, in the below screenshot it shows how the new builder combines them with this single 'Simple Multiple Text' builder.
The screenshot below shows the builder inputs.
Here are the files contained in the sample package:
• SimpleMultiTextBuilder.bdef – the BuilderDef for the custom builder.
• SimpleMultiTextBuilder.java – the Java regeneration class for the builder.
• SimpleMultiTextCoordinator.java – the coordinator class for the builder used to populate the tag names based on the selected Page input.