javax.faces.FacesException: Nested form found on the page. The form action element can not be nested

Icesoft | nks2000 | 5 years ago
  1. 0

    Messages posted by nks2000

    icesoft.org | 1 year ago
    javax.faces.FacesException: Nested form found on the page. The form action element can not be nested
  2. 0

    using icefaces+spring+hibernate getting this error

    icesoft.org | 1 year ago
    javax.faces.FacesException: Nested form found on the page. The form action element can not be nested
  3. 0

    Re:using icefaces+spring+hibernate getting this error

    Icesoft | 5 years ago | nks2000
    javax.faces.FacesException: Nested form found on the page. The form action element can not be nested
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using normal JSP's with custom components

    Icesoft | 7 years ago | anil7734
    javax.faces.FacesException: DOMContext is null
  6. 0

    with the facelet page :- <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" template="layout/template.xhtml"> <ui:define name="body"> <h:messages globalOnly="true" styleClass="message" id="globalMessages"/> <ice:form id="testEditTemplate" styleClass="edit"> <ice:panelGroup styleClass="edit"> <s:decorate template="layout/display.xhtml"> <ui:define name="label">firstName</ui:define> <h:inputText id="firstName" value="first testValue using s:decorate"/> </s:decorate> <ui:decorate template="layout/display.xhtml"> <ui:define name="label">firstName</ui:define> <h:inputText id="firstName" value="second testValue using ui:decorate"/> </ui:decorate> </ice:panelGroup> </ice:form> </ui:define> </ui:composition> and the following template:- <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"> <div class="prop"> <span class="name"> <ui:insert name="label"/> </span> <span class="value"> <ui:insert/> </span> </div> </ui:composition> either instance (the s:decorate and the ui:decorate) do not understand the flowthrough of the class="value" of the template and get the following error:- 18:07:43,803 ERROR [D2DFaceletViewHandler] Problem in renderResponse: Nested form found on the page. The form action element can not be nested javax.faces.FacesException: Nested form found on the page. The form action element can not be nested at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:362) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:365) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:365) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:365) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:365) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:83) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)

    ICEsoft JIRA Issue Tracker | 9 years ago | Judy Guglielmin
    javax.faces.FacesException: Nested form found on the page. The form action element can not be nested

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.faces.FacesException

      Nested form found on the page. The form action element can not be nested

      at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm()
    2. com.icesoft.faces
      FormRenderer.encodeBegin
      1. com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:274)
      2. com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:65)
      3. com.icesoft.faces.component.ext.renderkit.FormRenderer.encodeBegin(FormRenderer.java:41)
      3 frames
    3. org.icefaces.impl
      RendererWrapper.encodeBegin
      1. org.icefaces.impl.renderkit.RendererWrapper.encodeBegin(RendererWrapper.java:50)
      1 frame
    4. JavaEE 7
      Renderer.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1754)
      3. javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      3 frames
    5. org.icefaces.impl
      RendererWrapper.encodeChildren
      1. org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:54)
      1 frame
    6. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
      4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
      4 frames
    7. JSF
      LifecycleImpl.render
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      3. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
      4. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      5. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      5 frames
    8. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
      1 frame
    9. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
      10 frames
    10. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
      3 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      3. java.lang.Thread.run(Thread.java:619)
      3 frames