Tab Set

compared with
Current by Judy Guglielmin
on May 20, 2013 08:32.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 h3. tabSet
  
 The tabSet component manages a stack of contentPane's using tabControls. The attribute "currentId" determines which of the panes in the stack is currently visible. All other non-selected contentPane's are hidden from view. The individual contentPane will determine it's own caching and scalability optimization.
  
 {note} It's very important to understand the strategies associated with the contentPane and it's parent layout components.
 Please see contentPane component wiki page.
 {note}
  
 h3. Usage
  
 * Simple usage:\- each contentPane determines how its content is handled. The tabSet just cares about which one is the currently selected pane and styles as per tabSet theme.
  
 {code:xml}
 <mobi:tabSet id="stackOne" currentId="#{bean.selectedId}">
  <mobi:contentPane id="pane1" client="true">
  <h:panelGroup id="staticHomePane">
  <!-- static menu links -->
  <ui:include src="includes/menu.xhtml"/>
  </h:panelGroup>
  </mobi:contentPane>
  <mobi:contentPane id="pane2">
  <h:graphicImage value="#{item.imageUrl}"
  height="#{item.height}"/>
  <span style="#{item.style}">#{item.title}</span>
  </mobi:contentPane>
  <mobi:contentPane id="pane3" facelet="true">
  <!-- large dataTable rarely used -->
  <ui:include src="includes/table.xhtml"/>
  </mobi:contentPane>
 </mobi:tabSet>
 {code}
 * The exact same arrangement of contentPanes may be used as children for a tabSet or accordion component.
  
  New attribute "fixedPosition" when true, means that the tabset headers will fix themselves to the top of the pag when orientation is true and appear directly below the pagePanel if present. If orientation is false, the tabset Headers will affix themselves to the very bottom of the page or directly above the pagePanel footer, if present. When fixedPosition is false, they will appear at the beginning or end of the rendered div for tabSet.
  
 h3. Component Documentation
 [tabSet|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/tabSet.html]
 [contentPane|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/contentPane.html]

© Copyright 2016 ICEsoft Technologies Canada Corp.