Portlet Factory, Version 6.1.2


 

Radio Button Group builder inputs

This topic describes the inputs for the Radio Button Group builder.

Table 1. Radio Button Group builder inputs
Input Name Description
Name Name for this builder call. The WebSphere Portlet Factory Designer displays this name in the builder call list.
Page Location Use the Page Location input to specify the page or pages on which this builder call will act.
Radio Group Data Specify data returned from a Function, Method, Service Call, or Variable. This data will be in XML. You can also specify a comma-delimited list or specify a method or Java expression that returns an object that implements java.util.Collection or an iterator for a Java collection.
Lookup Table Used This input replaces the radio Group Data input above if the model in which this Radio Button Group builder is located also contains one or more Lookup Table builders.

Use this input to choose the name of the Lookup Table builder call whose results you want to display with this Radio Button Group call.

The Radio Button Group builder call will display the results of the Lookup Table's builder's GetLookupTable method. The displayed content is determined by the Lookup Table builder call's Value Tag and Label Tag input settings

XML Data Source Elements

Label Element Enter the path to the XML element whose value you want to display as the label for each radio button.

If you leave this input blank, the radio button group uses the second element contained by each node in the source data for which the IBM® WebSphere Portlet Factory servlet creates a radio button.

Value Element Enter the path to the XML element whose value you want to pass as the input value for the radio button group.

If you leave this input blank, the radio button group uses the first element contained by each node in the source data for which the WebSphere Portlet Factory servlet creates a radio button.

Selected Value Specify the value that will be shown as enabled when a user first runs the model. If you supply the Radio Button Group builder with XML data, the corresponding Label Element value will be selected.

For example: ${Variables/radioboxChoices/Item[0]}.

Orientation Choose to position the radio boxes horizontally (side by side) or vertically (one above the other).
Advanced

Alternate Rendering If this is checked, the builder constructs the radio box group to allow additional builders to be targetted within it. For example, if you wanted to make a radio button group for which each of the choices has an image rather than just text, you could use an image builder within the portion of the page that the Radio Button Group builder created. Checking this option also creates a loop variable and a counter variable, just as in the repeated region builder.

Parent topic: Radio Button Group builder


Library | Support |