Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. 

...

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

Back to top 

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.

...

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

       

 

<shortcutKeys>

...

Specifies the role or roles that dictate if this shortcut is available to the user. This attribute is optional.

Back to top 

Menus

Configuration

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

...

Specifies the role or roles that dictate if this item is visible to the user. This attribute is optional.
See the
Role Based Configuration topic for more information.

Back to top 

Commandbar

Configuration

Code Block
    <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>

...

Specifies  the text to be displayed in the tooltip for the button. This attribute is optional.

 Back to top

StatusBar

Configuration

 

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

   </statusPanels>

 

<statusPanels>

...

The width of the status panel in pixels. For components managed by an active layout manager, setting this value will act as the preferred width.

 Back to top

SideBar

Configuration

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

</page>

<sideBar>

The sideBar element contains the definition related to using a xal page as a side bar.  The xal specified as
the sideBar will be displayed relative to the its containing page as specified by its position attribute.

...