...
Attribute | Usage | Required | Default Value | |
---|---|---|---|---|
variable | Defines the variable that will hold the number of rows submitted. | Yes | ||
| Defines the minimum amount of rows that must be displayed. This value should be less than or equal to the value in maxRow. | No | 1 | |
| Defines the maximum amount of rows that must be displayed. | No | 5 | |
| If the condition evaluates to show this field, otherwise hide this field. | No | Evaluates to true if undefined |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<field id="activemq.connection.panel.title" type="title"/> <field align="left" id="activemq.connection.description" type="staticText"/> <field type="space"/> <field maxRow="10" minRow="1" type="custom" variable="activemq.connection.count"> <spec> <col> <field type="rule" variable="activemq.connection.address"> <spec default="tcp://localhost:7000" id="activemq.connection.url.label" layout="O:5:U :// O:15:U : N:5:5" resultFormat="displayFormat"/> </field> <validator class="com.izforge.izpack.panels.userinput.validator.UniqueValidator" id="activemq.connection.host.unique"/> </col> </spec> </field> |
In the above example, the active variable values take precedence over the values from the default attribute for prefilled values.
The default value is always the same for each row, the value of a preset variable can be specific to each row.
I'll add this example to the documentation and will later remove this comment.Screenshot of the panel resulting from this example: