All Implemented Interfaces:
Serializable, DynamicAttributes, IterationTag, JspTag, Tag, DynamicActionAttributes

public class Form
extends StylableTag
An alternative layout for tables which contains only one row. The table and columns should be defined as usual. Values for the columns are also set with the <tbl:cell> tag as asual.

This layout shows the "row" as a pair of left-right-oriented header/value pair. The default width is 1 which means that the header/value are stacked vertically. The width can be increased to get several "columns" of header/value pairs.

This layout was developed because we needed to support a form-based layout were the order and visibility of the header/values can be modified by the user. With this layout the same configuration dialog that is used for normal tables can be used.

Syntax:

   <tbl:form
        width=...
   >
        <tbl:cell>...</tbl:cell>
   </tbl:form>
Tag attributes
Attribute Default value Required Description
width 1 no The number of columns (header/value) pairs in the form.
Version:
2.14
Author:
Nicklas
See Also:
Serialized Form
Last modified
$Date: 2019-04-11 09:31:26 +0200 (tors, 11 apr. 2019) $