Wizard
The user interface associated with the “wizard” tag is produced by the following class template: com.axemble.vdp.ui.framework.composites.xml.XMLWizard
.
The provider class to be used must extend com.axemble.vdoc.sdk.providers.BaseWizardProvider
.
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
<wizard name="DEMO" action="action1" provider="com.axemble.education.providers.demo.DemoWizardProvider">
<pages>
<!-- Page with a form -->
<page name="page1" label="LG_PAGE1" information="" 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.TextBoxField" mandatory="false" />
</fields>
</page>
<!-- Page with a view -->
<page name="page2" label="LG_PAGE2">
<content>
<view name="view1" label="" provider="com.axemble.education.providers.demo.DemoViewProvider" >
</view>
</content>
</page>
</pages>
</wizard>