Portlet Factory, Version 6.1.2
Radio Button builder
The Radio Button builder allows you to reuse an existing group of radio buttons on an imported page or to control the layout of a group of radio buttons. When the user submits the page, the value associated with the selected radio button is sent to the action that processes the form submission.
Quick tips
- Use the Radio Button builder for flexible radio button layouts
- You can tailor the display of two or more radio buttons adding <br /> tags (or any other layout tags) to achieve the layout you want.
For example, you can layout a group of four radio buttons in two rows:
- Radio 1: <input name="radio1" type="radio" value="1" />
- Radio 2: <input name="radio1" type="radio" value="2" /> <br />
- Radio 3: <input name="radio1" type="radio" value="3" />
- Radio 4: <input name="radio1" type="radio" value="4" />
This layout flexibility is not available when using the Radio Button Group builder.
- Use indirect referencing to set the selected radio button
- You can set the selected value to be the value in a variable, the result of a method, or the output of a service call by using the reference chooser to select the variable, method, or service call that returns the selected value. Be sure to confirm that the referenced object returns a value that matches the value attribute of one of the radio buttons.
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.
- Radio Button builder inputs
This topic describes the inputs for the Radio Button builder.
- Overview: creating forms
You can create forms in IBM® WebSphere Portlet Factory applications in several ways.
- Passing arguments to actions
The Input Mappings group allows you to specify argument names and values to pass to an action.
Library | Support |