4.1 Main
Main element of an XML form definition that groups a related set of forms.
Attribute | Default Value | Type | Description | |
---|---|---|---|---|
id | null | String | Unique identifier of the component; if not defined, the base file name will be used. | |
name | null | String | Descriptive name of the forms group. | |
description | null | String | Description of the forms group. | |
repo | null | String | Identifier of the repository used to fetch the data. | |
mainForm | true | Boolean | Indicates whether this form will be displayed in the main list of forms. |
<main id="prueba1" name="Name prueba 1" description="Description prueba 1" repo="pruebaRepo">
<list name="Name prueba 1" description="Description prueba 1" id="listPrueba1"/>
<edit id="editPrueba1"/>
</main>
<main id="prueba2" name="Name prueba 2" description="Description prueba 2" repo="pruebaRepo" mainForm="false">
<list name="Name prueba 2" description="Description prueba 2" id="listPrueba2"/>
<edit id="editPrueba2"/>
</main>
<main id="prueba3" name="Name prueba 3" description="Description prueba 3" repo="pruebaRepo" mainForm="true">
<list name="Name prueba 3" description="Description prueba 3" id="listPrueba3"/>
<edit id="editPrueba3"/>
</main>
4.1.1 List
See 4.2. List
4.1.2 Edit
See 4.1.2. Edit