Examples of EnclosingFormRequiredException


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

Examples of org.richfaces.component.EnclosingFormRequiredException

    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
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.