Details
Description
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.'