This is impossible. One false move and I'm out.
After downloading some jars for a myface tree I seem to have ****** my
environment and now get a crappy message:
javax.faces.FacesException must be embedded in an form
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Component _idJsp0:0:_idJsp3 must be
embedded in an form
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
javax.faces.FacesException: Component _idJsp0:0:_idJsp3 must be
embedded in an form
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:435)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.
> This is impossible. One false move and I'm out.
>
[quoted text clipped - 16 lines]
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
the error message looks clear: you have to put a component in a form. If
you look at the generated html, or the compiled servlet, you should be
able to know what the component is.
Also, I see you are using JBoss, with a version of MyFaces you
downloaded yourself. You shouldn't have the problems I had, because I
was using Sun's implementation, but a conflict is always to consider.
If you really think you have no options, try to remove ths jsf-libs
directory as described here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces
timasmith@hotmail.com - 16 Aug 2006 10:53 GMT
I dont know it was bizarre. I would opt to say I had some
compatability problem. I blew away JBoss, all my jars in WEB-INF/lib
and started again and without changing code it was fine.
> > This is impossible. One false move and I'm out.
> >
[quoted text clipped - 27 lines]
>
> http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces