ViewManager

You are viewing an old version (v. 8) of this page.
The latest version is v. 13, last edited on Aug 15, 2014 (view differences | )
<< View previous version | view page history | view next version >>

viewManager

The ViewManager component makes it simple to create a responsive UI that automatically adapts to both small and large views. The ViewManager automatically constructs the UI layout structure for your application, taking care of the header, footer, menus, and submenus. The developer simply has to define the title, the views and which views should be placed in the main menu.

The ViewManager also supports:

  • client-side view rendering for improved offline-support
  • server-side view rendering
  • view history integration, allowing the user to move back to previous views
  • animated view transitions ( horizontal or vertical slide|fade|flip )
  • splash screen
  • easily customizable header and menu bar styling
  • integrated Font Awesome icons
  • submenus
  • menu dividers



Usage

   
<mobi:viewManager title="My App" 
      transitionType="flip"
      barStyle="background-color: green"
      selected="#{myBean.currentView}"
      history="#{myBean.viewhistory}"
      clientSide="false">
             
      <!-- SPLASH SCREEN -->
      <mobi:view id="splash" splash="true" includeInMenu="false">
          <ui:include src="/WEB-INF/includes/content/splash.xhtml" />
      </mobi:view>
             
      <!-- VIEW MANAGER -->
      <mobi:view id="pageA" title="Page A" menuIcon="th-list"
           navBarGroup="viewmanager" divider="Group A">
           <ui:include src="/WEB-INF/includes/pageA.xhtml" />
      </mobi:view>
      <mobi:view id="pageA1" title="Page A - 1" menuIcon="book"
           includeInMenu="false" navBarGroup="pageA">
           <ui:include src="/WEB-INF/includes/pageA1.xhtml" />
      </mobi:view>
      <mobi:view id="pageA2" title="Code" menuIcon="code"
           includeInMenu="false" navBarGroup="pageA">
           <ui:include src="/WEB-INF/includes/pageA2.xhtml">
      </mobi:view>
</mobi:viewManager>

Component Documentation

viewManager
view

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.