On Wed, Nov 5, 2008 at 1:17 PM, mahesh p <[EMAIL PROTECTED]> wrote: > *Dear All, > i am migrating the myfaces application from 1.1 to 1.2 on weblogic > server10.3 > i have changed the descriptors in web.xml,weblogic.xml to reflect use of > servlet 2.5 specifications > also chaneged the faces-config.xml to relect "web-facesconfig_1_2.xsd" and > version "1.2" > and i am using > myfaces-api-1.2.5 > myfaces-impl-1.2.5 > myfaces-shared-impl-3.0.5 > and tomhawk-1.1.6 > > but i am facing strange issue with subviewtag as, do anyone knows whats the > problem* > ------------------------------ > Starting up Tomahawk on the MyFaces-JSF-Implementation An exception > occurred javax.faces.FacesException: javax.servlet.jsp.JspTagException: > Since tag class org.apache.myfaces.taglib.core.SubviewTag does not implement > BodyTag, it cannot return BodyTag.EVAL_B ODY_BUFFERED at > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:347) > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:236) > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:222) > at > org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) > at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155) at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) > at > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) > at weblogic.security.service.SecurityManager.runAs(Unknown Source) at > weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) > at > weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) > at > weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at > weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: > javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Since tag > class org.apache.myfaces.taglib.core.SubviewTag does not implement BodyTag, > it cannot return BodyTag.EVAL_BODY_BUFFERED at > weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:420) > at jsp_servlet._web_45_inf._template.__layout._jspService(__layout.java:129) > at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) > at > weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) > at > weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502) > at > weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251) > at > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:341) > ... 20 more Caused by: javax.servlet.jsp.JspTagException: Since tag class > org.apache.myfaces.taglib.core.SubviewTag does not implement BodyTag, it > cannot return BodyTag.EVAL_BODY_BUFFERED at > jsp_servlet._web_45_inf._template.__layout._jsp__tag5(__layout.java:345) at > jsp_servlet._web_45_inf._template.__layout._jsp__tag4(__layout.java:299) at > jsp_servlet._web_45_inf._template.__layout._jspService(__layout.java:122) > ... 30 more Invalid tag found: unexpected input while looking for attr name > or '/>' at line 254
First of all this is a list for discussion about myfaces development. For discussion about development using myfaces please refer to myfaces users list (and continue discussing this there!). On myfaces 1.2.x, org.apache.myfaces.taglib.core.SubviewTag extends from UIComponentELTag and implements BodyTag on UIComponentClassicTagBase. Did you cleaned your temp files first? Just one warning: I don't know if JspTilesViewHandlerImpl in tomahawk 1.1.6 is compatible with myfaces 1.2.x. I don't think so, since there was some changes on the jsf spec from 1.1 to 1.2. regards Leonardo Uribe > > ------------------------------ > View this message in context: migrating myfaces1.1 to > 1.2<http://www.nabble.com/migrating-myfaces1.1-to-1.2-tp20345029p20345029.html> > Sent from the My Faces - Dev mailing list > archive<http://www.nabble.com/My-Faces---Dev-f182.html>at Nabble.com. >
