Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This document provides the configuration details for all pages except the home page.

Requirements

Reference Framework 2.0 runs against Nexaweb Platform 4.5.33 or higher. 

<page>

A page element contains the definition used to create pages, subPages or dialogs.  Each page can define its own menus, commandbar, shortkeys or status bars.

Attributes

name

Specifies the identifier used to look up the page definition. This attribute is required.

title

Specifies the title associated with the page. This attribute is optional.

xal

Specifies the name of the XAL file to be loaded by the page. This attribute is optional.

onPageLoaded

Specifies the handler for the onPageLoaded event.  
This attribute is optional and must contain valid Mco syntax.
The onPageLoaded event is fired when the page is first crated.   See the Page Events topic for more information on the onPageLoaded event.

onPageActivated

Specifies the handler for the onPageActivated event.  
This attribute is optional and must contain valid Mco syntax.
The onPageActivated  event is fired when the page is first crated.   See the Page Events for more information on the onPageActivated event.

onPageDeactivated

Specifies the handler for the onPageDeactivated event.  
This attribute is optional and must contain valid Mco syntax.
The onPageDeactivate event is fired when the page is first crated.   See the Page Events topic for more information on the onPageDeactivated event.

onPageClosed

Specifies the handler for the onPageClosed event.  
This attribute is optional and must contain valid Mco syntax.
The onPageClosed event is fired when the page is first crated.   See the Page Events topic for more information on the onPageClosed event

 

Shortcut Keys

Contains the list of shortcut key definitions to be loaded for use within the page. The shortcut keys are only available when the page is active.

Configuration

   <shortcutKeys>
       <shortcut key="F5" onCommand="PageManager.loadPage( 'dataIntegration' )" role="ROLE_ADMIN"/>
   </shortcutKeys>

Menus

Configuration

    <menuGroups>
       <menuGroup name="application" text="">
          <item image="/images/menu_logout.png" name="logoutMenu"
                onCommand="SecurityManager.logout()"
                text="Log Out" tooltip="log out"/>
       </menuGroup>
    </menuGroups>


See the Role Based Configuration topic for more information. 

 

Commandbar

Configuration

    <commandbar>
       <button image="/images/bar_cancel.png" name="commandBar.bbClose"
               onCommand="PageManager.closePage()" tooltip="Close"/>
       <button image="/images/menu_refresh.png" name="commandBar.bbRefresh"
               role="ROLE_USER" tooltip="Refresh"/>
       <button image="/images/bar_print.png" name="commandBar.bbPrint"
               tooltip="Print"/>
    </commandbar>

 

StatusBar

Configuration

 

   <statusPanels>
        <statusPanel horizontalAlignment="left" image="" name="statusBar.bar1"
                     text="Hello, everybody!" width="80%"/>
        <statusPanel image="" name="statusBar.bar2" text="Ready" width="19%"/>
   </statusPanels>

 

SideBar

Configuration

<page name="excelSample" title="Excel Sample" xal="/XAL/Sample/ExcelSample.xal"/>
     <sideBar position="west" width="19%" xal="/XAL/Sample/DataIntegration_SidePage.xal"/>
</page>
  • No labels