Portlet Factory, Version 6.1.2
Variable Input Control builder
Use the Variable Input Control builder to create variable forms where the text, layout, and styles of the controls are stored in a database or in files.
For example, create a page with a <TABLE> tag and a single <TR> tag. Then attach a Repeated Region or a Dynamic Table builder to these locations to repeat the <TR> tag for every element in your data. The data can contain your prompts and your values for the Variable Input Control builder. The control tag for the Variable Input Control builder would be placed inside a column inside the repeated section.
At run time, this builder evaluates the text referenced as the Input Type field and directs subsequent processing to the appropriate input tool. Use this input to choose a string constant value from a drop down list and specify an indirect reference. This indirect reference must either directly evaluate to one of these string constants or be profiled and the profile value must evaluate to one of these constants. These constants are:
- CheckBox
- HiddenInput
- RadioBox
- Select
- TextArea
- TextInput
If the Input Type value does not evaluate correctly, the entire input control will not display.
Quick tips
- Builder replaces tag
- When this builder is applied in On Named Tag or Relative to Named Tag modes, the control tag is replaced completely. No further modifications to the tag can be done. And no additional builders can be applied to the tag.
If you attempt to use the tag, an error message about the missing tag indicates that nothing further can be done with this tag.
- Value field behavior
- If you specify a value in the Value field, the corresponding Text Key is displayed in the Select builder, Radio Group builder, or Checkbox List builder.
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.
- Variable Input Control builder inputs
This topic describes the inputs for the Variable Input Control builder.
- Specification of Choices
Some input types in the Variable Input Control builder Extra Data input table support Choices.
- Specification of extra data
The Extra Data input in the Variable Input Control builder determines the content displayed by the input control.
Library | Support |