Class AutoLayoutFieldsControl<S extends Source<?>>

  • Type Parameters:
    S -
    All Implemented Interfaces:
    VariableResolver, IControl
    Direct Known Subclasses:
    AnswersAutoLayoutFieldsControl, AnswersAutoLayoutFieldsControl, AutoLayoutContentFieldsControl, ShowAnswersAutoLayoutFieldsControl, ShowAnswersAutoLayoutFieldsControl

    public class AutoLayoutFieldsControl<S extends Source<?>>
    extends SourceBoundControl<S>
    Renders a label control and a value control of each visible field in the source. The type of control to render the field value may be an input control or a read only control depending on the readOnly attribute of the corresponding field. Also, the pair label-value groups may be fully customized and not read from source fields.

    Example use: <control:lum_autoLayoutFields id="autoLayoutFields" sourceId="default" />

    xml data available for xsl rendering: <control id="autoLayout_Fields" sourceId="default" type="lum_autoLayoutContentFields"> <field> <label> <control dataId="title" id="lum_402809813A929400013A93D52FE9168E" showRequired="true" sourceId="default" type="lum_label">...</control> </label> <value> <control dataId="title" id="title" isPrimaryInput="true" sourceId="default" trim="true" type="lum_inputText">...</control> </value> </field> <field> <label> <control dataId="introduction" id="lum_402809813A929400013A93D52FEA1691" sourceId="default" type="lum_label">...</control> </label> <value> <control dataId="introduction" id="introduction" sourceId="default" trim="true" type="lum_inputTextArea"/> </value> </field> ... </control>
    Since:
    4.0.10
    Version:
    $Revision: 20957 $ $Date: 2018-02-15 16:58:12 -0200 (Thu, 15 Feb 2018) $