Recent articles by this author

This builder helps to integrate the Person card into a Portlet page. One UI classes have been applied for the look and feel of the Person card, so if the OneUI classes have been includedreferenced in the model using this builder, then OneUI look and feel will be applied. Builder Inputs: Page ...

This builder can be used to control the visibility of multiple elements on a page. This can be achieved by adding multiple 'Visibility Setter' builders for each location to show/hide 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 Visibility setters we use per model.

For example there are 2 page locations on which visibility setter is applied to dynamically control the visibility of those elements, in the below screenshot it shows how the new builder combines them with this single 'Multiple Visibility setter' builder.

The screenshot below shows the builder inputs.

Here are the files contained in the sample package:

• MultiVisibilitySetter.bdef – the BuilderDef for the custom builder.

• MultiVisibilitySetter.java – the Java regeneration class for the builder.

• MultipleVisibilitySetterCoordinator.java – the coordinator class for the builder used to populate the tag names based on the selected Page input.

• SampleMultiVS.model – this sample shows how the custom builder can be used and applied to page elements.