[ http://issues.apache.org/jira/browse/MYFACES-1308?page=comments#action_12412399 ]
Mike Kienenberger commented on MYFACES-1308: -------------------------------------------- I don't use ADF either. Adam Winer was originally going to look into this issue, but since Martin came up with a good idea for solving it, I figured I'd open a bug on behalf of the original poster to make sure the idea didn't get lost. > 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 > Assignee: Mario Ivankovits > Fix For: 1.1.4-SNAPSHOT > > 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
