Skip to main content link. Accesskey S
  • Help
  • IBM Logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • All Forums
  • ANNOUNCEMENT: Wiki changed to read-only. READ MORE...
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
  • API Documentation
Search
Community Articles > Web Experience Factory > Samples and Techniques for Web Experience Factory > Simple Multiple Text Custom builder
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Click to view profileIBM contributorChitresh Sirohi
Contribution Summary:
  • Articles authored: 1
  • Articles edited: 0
  • Comments Posted: 0

Recent articles by this author

Simple Multiple Text Custom builder

Custom builder to add Text on multiple elements on a page
Community articleSimple Multiple Text Custom builder
Added by IBM contributorChitresh Sirohi on May 13, 2013 |
expanded Abstract
collapsed Abstract
Custom builder to add Text on multiple elements on a page
Tags: Code Samples, CustomBuilder
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.

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (4)
collapsed Versions (4)
Version Comparison     
VersionDateChanged by              Summary of changes
4May 13, 2013, 4:35:59 PMJonathan Booth  IBM contributor
2May 13, 2013, 1:49:24 AMChitresh Sirohi  IBM contributor
1May 13, 2013, 1:39:50 AMChitresh Sirohi  IBM contributor
This version (0)May 13, 2013, 1:47:44 AMChitresh Sirohi  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • BlogsIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkThe Social Lounge
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use