6 Replies Latest reply on Oct 14, 2006 10:15 AM by jjarkko

    Integrating Seam and Trinidad

    mrohad

      I tried to integrate Trinidad with my current application that already using SEAM/Facelets/Tomohowak/AJAX4JSF
      it doesn't work , I get a warning (Unsupported component-family/renderer-type) for each trinidad tag I put in my JSFs...

      anyone done such a thing before(maybe even ADF)? can you please show me your web.xml/faces-config.xml?

      Thanks

        • 1. Re: Integrating Seam and Trinidad
          stefanotravelli

          I'm also going to setup an experimental project with Seam/Facelets/Trinidad, in the near future, so I hope we could exchange experience on this topic.
          I didn't tried yet, however listening to the trinidad dev list I found that the most common problem is with the ViewHandler configuration for facelets.
          Look at http://wiki.apache.org/myfaces/Trinidad_FAQ

          • 2. Re: Integrating Seam and Trinidad
            texan
            • 3. Re: Integrating Seam and Trinidad
              stefanotravelli

              No, I didn't.
              Great. I download it immediatly.
              Thanks.

              • 4. Re: Integrating Seam and Trinidad

                There seems to be a known incompatability issue with Myfaces and Trinidad when using TR in portlets.

                http://issues.apache.org/jira/browse/MYFACES-1383


                Caused by: java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit
                at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:387)
                ... 140 more
                Nested Exception is
                java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit
                at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:387)
                at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
                at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
                at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
                at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:89)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:295)
                at com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
                at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:708)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


                • 5. Re: Integrating Seam and Trinidad

                  Just out of curiosity...did you guys have to download the Trinidad source from SVN and build the jars using Maven or is there someplace I can just download some JARs?

                  • 6. Re: Integrating Seam and Trinidad

                    I built it from SVN sources.