myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pdt_p <pin...@gmail.com>
Subject Integrate Trinidad and Tiles
Date Wed, 08 Aug 2007 05:06:44 GMT

Hi....

I just wonder how to integrate Trinidad with Tiles? I try to search in this
forum and in the net but I can't found a good explaination about this.
I did try to integrate it but I got exception : 
java.lang.IllegalStateException: No RenderingContext

org.apache.myfaces.trinidad.render.CoreRenderer.encodeBegin(CoreRenderer.java:181)

org.apache.myfaces.trinidadinternal.renderkit.htmlBasic.HtmlFormRenderer.encodeBegin(HtmlFormRenderer.java:56)
	javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
	javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:467)
	javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:320)

org.apache.jsp.common.navigation_jsp._jspx_meth_h_form_0(org.apache.jsp.common.navigation_jsp:92)

org.apache.jsp.common.navigation_jsp._jspService(org.apache.jsp.common.navigation_jsp:70)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:302)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:246)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
	org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:581)
	org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
	org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
	org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)

org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
	org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)

org.apache.jsp.template.template_jsp._jspx_meth_tiles_insert_0(org.apache.jsp.template.template_jsp:172)

org.apache.jsp.template.template_jsp._jspx_meth_f_subview_0(org.apache.jsp.template.template_jsp:150)

org.apache.jsp.template.template_jsp._jspx_meth_f_view_0(org.apache.jsp.template.template_jsp:103)

org.apache.jsp.template.template_jsp._jspService(org.apache.jsp.template.template_jsp:67)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:302)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:246)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)

org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:43)

org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:260)

org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:236)

org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:222)

org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)

org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
	org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)

faces config.xml:
  <application>
    <default-render-kit-id>
      org.apache.myfaces.trinidad.core
    </default-render-kit-id>
   
<view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler>
  </application>

web.xml:
     <context-param> 	 
         <param-name>tiles-definitions</param-name> 	 
         <param-value>/WEB-INF/tiles.xml</param-value> 	 
     </context-param>
     <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>
            /WEB-INF/faces-config.xml
        </param-value>
    </context-param>


Any Idea?



thanks in advance

Pdt

-- 
View this message in context: http://www.nabble.com/Integrate-Trinidad-and-Tiles-tf4234327.html#a12047239
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message