Portlet Factory, Version 6.1.2
Checkbox Group builder
Use the Checkbox Group builder to create a group of check boxes. For example, you might use the Checkbox Group builder to present users with a list of items they can select for inclusion on their personal web page. These items might be a stock ticker, a weather report, or a news headlines section. By setting or clearing the items in the Checkbox Group, users could indicate the items they want to include and exclude.
Quick tips
- In most cases, select the Return State of All Values data format.
This format displays all the items along with their set and cleared states. The other format, while essentially containing the same information, assumes that the user of this data already knows what all the possible choices are. That may not be a reasonable assumption to make.
- The format of the variable for Selected Values depends on the return data format.
If you enter an indirect reference in the Checkbox List Data input, the Checkbox Group builder requires the format of the variable for the Selected Values input to be formatted according to the format selected from the Return Data Format dropdown menu.
Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Locating control builder calls on pages
Each page location technique results in the generation of a Page Location string that determines on what pages, and where on those pages, the control builder calls are added.
- Checkbox Group builder inputs
This topic describes the inputs for the Checkbox Group builder inputs.
- Specification of lists
You can supply any builder input that accepts a comma-delimited list with any object that implements java.util.Collection or extends java.util.Iterator, thereby populating the builder input value with the items in the underlying collection.
- About the Value Element and Label Element inputs
In general, the Value Element and Label Element builder inputs are used to associate a visible label with an invisible value that is actually submitted to the IBM® WebSphere Portlet Factory servlet.
- Retrieving multiple input values from a Checkbox Group builder
You can retrieve multiple input values from a Checkbox Group builder for use in a model by creating a iterator in the Method builder.
Library | Support |