Package org.richfaces.component

Examples of org.richfaces.component.EnclosingFormRequiredException


    UIForm form= rendererUtils.getNestingForm(context, component);
    //TODO nick -> nick - switchType checking can be harmful here
    String switchType = (String) component.getAttributes().get("switchType");
    boolean isSwitchTypeClient = switchType == null ? false : switchType.equalsIgnoreCase("client") ;
    if (form == null && !isSwitchTypeClient){
      throw new EnclosingFormRequiredException(component.getClass().toString()+" (id=\"" + component.getId() + "\") did not find parent form.");
    }   
  }
View Full Code Here


    UIForm form= RendererUtils.getInstance().getNestingForm(context, component);
    //TODO nick -> nick - switchType checking can be harmful here
    String switchType = (String) component.getAttributes().get("switchType");
    boolean isSwitchTypeClient = switchType == null ? false : switchType.equalsIgnoreCase("client") ;
    if (form == null && !isSwitchTypeClient){
      throw new EnclosingFormRequiredException(component.getClass().toString()+" (id=\"" + component.getId() + "\") did not find parent form.");
    }   
  }
View Full Code Here

TOP

Related Classes of org.richfaces.component.EnclosingFormRequiredException

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.