org.apache.myfaces.shared.util._ComponentUtils.findNestingForm() needs to
support af:form
-----------------------------------------------------------------------------------------
Key: MYFACES-1308
URL: http://issues.apache.org/jira/browse/MYFACES-1308
Project: MyFaces Core
Type: Bug
Components: General
Versions: 1.1.2
Environment: h:commandButton is used inside af:form
Reporter: Mike Kienenberger
Martin Denham wrote,
=========
Here is the error:
com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/user/test.xhtml]
java.lang.IllegalArgumentException: Component submit must be embedded in an form
at
org.apache.myfaces.shared_impl.renderkit.html.HtmlButtonRendererBase.buildOnClick(HtmlButtonRendererBase.java:173)
at
org.apache.myfaces.shared_impl.renderkit.html.HtmlButtonRendererBase.encodeEnd(HtmlButtonRendererBase.java:120)
at
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
=========
org.apache.myfaces.shared.util._ComponentUtils.findNestingForm() needs to
support af:form. One possibility -- Use component-family instead of
'instanceof UIForm.'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira