Sheet
The user interface associated with the “sheet” tag is produced by the following class template: com.axemble.vdp.ui.framework.composites.xml.XMLSheet
.
The provider class to be used must extend com.axemble.vdoc.sdk.providers.BaseSheetProvider
.
Tag | Description |
---|---|
pages | Container of “pages” elements. At least, one of the pages must have the “default” attributes set to “true”. |
fields | Container of “field” elements |
Example
<sheet name="DEMO" label="LG_DEMO" information="LG_DEMO_INFO" action="edit" provider="com.axemble.education.providers.demo.DemoSheetProvider">
<pages>
<page name="page1" label="LG_PAGE1" default="true">
<fields>
<field name="fldLabel1" label="LG_LABEL1" ctrl="com.axemble.vdp.ui.core.document.fields.TextBoxField" mandatory="true" />
<field name="fldLabel2" label="LG_LABEL2" ctrl="com.axemble.vdp.ui.core.document.fields.TextAreaField" mandatory="false" mode="read" />
</fields>
</page>
<page name="page2" label="LG_PAGE2">
<fields>
<field name="fldLabel1" label="LG_LABEL1" ctrl="com.axemble.vdp.ui.core.document.fields.TextBoxField" mandatory="true" />
<field name="fldLabel2" label="LG_LABEL2" ctrl="com.axemble.vdp.ui.core.document.fields.TextBoxField" mandatory="false" />
</fields>
</page>
</pages>
</sheet>