You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org> on 2006/05/18 20:48:06 UTC

[jira] Resolved: (MYFACES-1308) org.apache.myfaces.shared.util._ComponentUtils.findNestingForm() needs to support af:form

     [ http://issues.apache.org/jira/browse/MYFACES-1308?page=all ]
     
Mario Ivankovits resolved MYFACES-1308:
---------------------------------------

    Fix Version: 1.1.4-SNAPSHOT
     Resolution: Fixed

Ok, I think I got it. Unhappily I have no ADF around, could you please check.

Thanks!


> 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