Adding new screens

To add a screen in the VDoc navigation, you just have to create a XML definition file in the folder WEB-INF/storage/custom/navigation. This file must have the same structure than the XML definition file of the standard screens.

Example of screens customization file structure

<?xml version="1.0" encoding="ISO-8859-1"?> 
<definition name="VDoc - Custom"> 
        <screens> 
        ...
        </screens> 
</definition>

Once the structure is set, you just have to define the new screens by placing it under the tag screens.

Example of two news screens definition

<?xml version="1.0" encoding="ISO-8859-1"?> 
<definition name="VDoc - Custom"> 
        <screens> 
                <form name="DEMO" action="action1" label="LG_VIEW_PROP" information="LG_PUT_VIEW_INFO" provider="com.axemble.education.providers.demo.DemoFormProvider"> 
                        <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> 
                </form> 
                <sheet name="DEMO" action="action2" label="LG_VIEW_PROP" information="LG_PUT_VIEW_INFO" provider="com.axemble.education.providers.demo.DemoSheetProvider"> 
                        <pages> 
                                <page name="page1" label="LG_PAGE1" information="*** information 1 ***" default="true"> 
                                        <fields> 
                                                <field name="fldLabel1" label="LG_LABEL1" ctrl="com.axemble.vdp.ui.core.document.fields.TextBoxField" mandatory="false" /> 
                                        </fields> 
                                </page> 
                                <page name="page2" label="LG_PAGE2" information="*** information 2 ***"> 
                                        <fields> 
                                                <field name="fldLabel2" label="LG_LABEL2" ctrl="com.axemble.vdp.ui.core.document.fields.TextBoxField" mandatory="true" /> 
                                        </fields> 
                                </page> 
                        </pages> 
                </sheet> 
        </screens> 
</definition>

The following points are addressed here :