Package org.xulfaces.component.tab

Examples of org.xulfaces.component.tab.TabPanelsComponent


 
  private static final Log log = LogFactory.getLog(TabPanelsRenderer.class);
 
  @Override
  public void decode(FacesContext facesContext, UIComponent component) {
    TabPanelsComponent tabPanelsComponent = (TabPanelsComponent) component;
    if(isSubmitted(facesContext,component)){     
      Map paramMap = facesContext.getExternalContext().getRequestParameterMap();
      String clientId = component.getClientId(facesContext);
      if (paramMap.containsKey(clientId)) {
        String index = (String) paramMap.get(clientId);
        tabPanelsComponent.setSelectedIndex(Integer.parseInt(index));
      }
    }   
  }
View Full Code Here

TOP

Related Classes of org.xulfaces.component.tab.TabPanelsComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.