So do you mean to say tomahawk 1.1.9 along with JSF. 1.2 will do the trick?
On Tue, Mar 30, 2010 at 7:20 PM, Rene van Wijk <[email protected] > wrote: > > Use component libraries which are compliant with the 1.2 JSF standard and > not the 1.1 standard. > > > > There is a difference in binding component attributes in JSF 1.2 and 1.1, > for example, > > > > 1.1 > > public void set_binding(String _binding) { > this.binding = _binding; > } > > public String getBinding() { > return binding; > } > > > > if (getBinding() != null) { > if (isValueReference(getBinding())) { > inputText.setValueBinding("binding", > getValueBinding(getBinding())); > } else { > inputText.getAttributes().put("binding", getBinding()); > } > } > > > > 1.2 > > public ValueExpression getBinding() { > return binding; > } > > public void setBinding(ValueExpression binding) { > this.binding = binding; > } > > > > if (getBinding() != null) { > if (!getBinding().isLiteralText()) { > inputText.setValueExpression("binding", getBinding()); > } else { > inputText.getAttributes().put("binding", > getBinding().getExpressionString()); > } > } > > > > This also clearifies the exception you get expected ValueExpression got > String. > > -----Original message----- > From: [email protected] > Sent: Tue 30-03-2010 15:34 > To: [email protected]; > Subject: Facing error after Tomahawk upgrade. > > All, > > I'm getting the following exception when I try to access my > application. > > > > I have recently updated the following components in my application > > > > weblogic8.1 to weblogic 10.3 > > myfaces 1.1.5 to 1.2.8 > > richfaces 3.0.1 to 3.3.3 > > tomahawk 1.1.5 to 12_1.1.10 > > Struts tiles to tiles 2.0.7 > > > > > > I have also tried with tomahawk 1.1.9 , but I have faced exception in > <t:stylesheet/> stating "there is no such method error with the method > argument expecting 'Valueexpression' instead of String ." > > > > > > Mar 30, 2010 6:39:45 PM > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl > buildTilesViewLikeContain er > > SEVERE: Error rendering tile > > org.apache.tiles.util.TilesIOException: ServletException including path > '/webContent/jsp/searchManager/layout/searchMana > > gerLayout.jsp'. > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.wrapServletE > xception(ServletTilesRequestContext.j > > ava:298) > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv > letTilesRequestContext.java:200) > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(Ser > vletTilesRequestContext.java:179) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.b > uildView(JspTilesTwoViewHandlerImpl.j > > ava:450) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.b > uildTilesViewLikeContainer(JspTilesTw > > oViewHandlerImpl.java:354) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.r > enderTilesView(JspTilesTwoViewHandler > > Impl.java:154) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.r > enderView(JspTilesTwoViewHandlerImpl. > > java:135) > > at > org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrappe > r.java:100) > > at > org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java > :176) > > at > org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderRespon > seExecutor.java:41) > > at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140 > ) > > at > javax.faces.webapp.FacesServlet.service(FacesServlet.java:182) > > at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St > ubSecurityHelper.java:227) > > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH > elper.java:125) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2 > 92) > > at > weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) > > at > org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) > > at > org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter > .java:388) > > at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil > ter.java:384) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > com.pfizer.pgrd.ui.utils.SecurityFilter.doFilter(SecurityFilter.java:92) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r > un(WebAppServletContext.java:3496) > > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu > bject.java:321) > > at weblogic.security.service.SecurityManager.runAs(Unknown > Source) > > at > weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ > letContext.java:2180) > > at > weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont > ext.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: java.lang.NoSuchMethodError: > org.apache.myfaces.custom.document.DocumentBodyTag.setOnload(Ljava/lang/ > String;) > > V > > at > jsp_servlet._webcontent._jsp._searchmanager._layout.__searchmanagerlayou > t._jsp__tag4(__searchmanagerlayout.ja > > va:305) > > at > jsp_servlet._webcontent._jsp._searchmanager._layout.__searchmanagerlayou > t._jspService(__searchmanagerlayout.j > > ava:210) > > at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) > > at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St > ubSecurityHelper.java:227) > > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH > elper.java:125) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2 > 92) > > at > weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStu > bImpl.java:408) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3 > 18) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1 > 75) > > at > weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis > patcherImpl.java:502) > > at > weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche > rImpl.java:251) > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv > letTilesRequestContext.java:198) > > ... 34 more > > Mar 30, 2010 6:39:45 PM javax.faces.webapp._ErrorPageWriter > handleThrowable > > SEVERE: An exception occurred > > javax.faces.FacesException: org.apache.tiles.TilesException: > ServletException including path '/webContent/jsp/searchMana > ger/layout/searchManagerLayout.jsp'. > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.r > enderTilesView(JspTilesTwoViewHandler > > Impl.java:159) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.r > enderView(JspTilesTwoViewHandlerImpl. > > java:135) > > at > org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrappe > r.java:100) > > at > org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java > :176) > > at > org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderRespon > seExecutor.java:41) > > at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140 > ) > > at > javax.faces.webapp.FacesServlet.service(FacesServlet.java:182) > > at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St > ubSecurityHelper.java:227) > > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH > elper.java:125) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2 > 92) > > at > weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) > > at > org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) > > at > org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter > .java:388) > > at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil > ter.java:384) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > com.pfizer.pgrd.like.ui.utils.SecurityFilter.doFilter(SecurityFilter.jav > a:92) > > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java: > 42) > > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r > un(WebAppServletContext.java:3496) > > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu > bject.java:321) > > at weblogic.security.service.SecurityManager.runAs(Unknown > Source) > > at > weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ > letContext.java:2180) > > at > weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont > ext.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: org.apache.tiles.TilesException: ServletException including > path '/webContent/jsp/searchManager/layout/search > > ManagerLayout.jsp'. > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.b > uildTilesViewLikeContainer(JspTilesTw > > oViewHandlerImpl.java:371) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.r > enderTilesView(JspTilesTwoViewHandler > > Impl.java:154) > > ... 30 more > > Caused by: org.apache.tiles.util.TilesIOException: ServletException > including path '/webContent/jsp/searchManager/layout > > /searchManagerLayout.jsp'. > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.wrapServletE > xception(ServletTilesRequestContext.j > > ava:298) > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv > letTilesRequestContext.java:200) > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(Ser > vletTilesRequestContext.java:179) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.b > uildView(JspTilesTwoViewHandlerImpl.j > > ava:450) > > at > org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.b > uildTilesViewLikeContainer(JspTilesTw > > oViewHandlerImpl.java:354) > > ... 31 more > > Caused by: java.lang.NoSuchMethodError: > org.apache.myfaces.custom.document.DocumentBodyTag.setOnload(Ljava/lang/ > String;) > > V > > at > jsp_servlet._webcontent._jsp._searchmanager._layout.__searchmanagerlayou > t._jsp__tag4(__searchmanagerlayout.ja > > va:305) > > at > jsp_servlet._webcontent._jsp._searchmanager._layout.__searchmanagerlayou > t._jspService(__searchmanagerlayout.j > > ava:210) > > at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) > > at > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St > ubSecurityHelper.java:227) > > at > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH > elper.java:125) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2 > 92) > > at > weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStu > bImpl.java:408) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3 > 18) > > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1 > 75) > > at > weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis > patcherImpl.java:502) > > at > weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche > rImpl.java:251) > > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv > letTilesRequestContext.java:198) > > ... 34 more > > > > > > > > > > Can anyone let me know what is the cause for this issue? > > > > Thanks & Regards, > > Nila > > > This e-mail and any files transmitted with it are for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. > If you are not the intended recipient, please contact the sender by reply > e-mail and destroy all copies of the original message. > Any unauthorized review, use, disclosure, dissemination, forwarding, > printing or copying of this email or any action taken in reliance on this > e-mail is strictly prohibited and may be unlawful. >

