Examples of TabPanelsComponent


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
Copyright © 2018 www.massapi.com. 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.