-
1. Re: Integrating Seam and Trinidad
stefanotravelli Sep 21, 2006 10:41 AM (in response to mrohad)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 Sep 21, 2006 10:58 AM (in response to mrohad)Have you seen the ADF example on the Wiki?
http://wiki.jboss.org/wiki/attach?page=JBossSeam%2Fadfregistration.zip -
3. Re: Integrating Seam and Trinidad
stefanotravelli Sep 21, 2006 11:12 AM (in response to mrohad)No, I didn't.
Great. I download it immediatly.
Thanks. -
4. Re: Integrating Seam and Trinidad
jjarkko Sep 23, 2006 7:29 AM (in response to mrohad)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
mtuckah Oct 13, 2006 11:36 AM (in response to mrohad)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
jjarkko Oct 14, 2006 10:15 AM (in response to mrohad)I built it from SVN sources.