Apache Trinidad (JSF component suite) Home Page : http://myfaces.apache.org/trinidad/
Live Demo : http://www.irian.at/trinidad-demo/faces/componentDemos.jspx I started with appfuse-modular-jsf-2.0.2 , I changed below configs of my application to integrate with Trinidad : web.xml################### <!--context-param> <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> <param-value>com.sun.facelets.FaceletViewHandler</param-value> </context-param --> <context-param> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> <param-value>com.sun.facelets.FaceletViewHandler</param-value> </context-param> <filter> <filter-name>trinidad</filter-name> <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <servlet-name>faces</servlet-name> <!-- <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> --> </filter-mapping> <filter-mapping> <filter-name>trinidad</filter-name> <servlet-name>faces</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> faces-config.xml############# <application> <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id> <view-handler>org.ajax4jsf.framework.ajax.AjaxViewHandler</view-handler> </application> x-webapp/pom.xml########### <dependency> <groupId>org.apache.myfaces.trinidad</groupId> <artifactId>trinidad-api</artifactId> <version>1.2.8</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.myfaces.trinidad</groupId> <artifactId>trinidad-impl</artifactId> <version>1.2.8</version> <scope>compile</scope> </dependency> &I upgrade myfaces.core to 1.2.3 for more info about configs you can see below link : http://www.jroller.com/wesleyhales/entry/jsf_component_library_integration_and until here I used some cool componets of trinidad (inputListOfValue, selectManyShuttle, Table(richness)) on facelet page without any issue , also Tomhawak has good compoatiblity with Trinidad . but there are some issue on ajax4jsf & trinidad , I notice these two doesn't play well with eachother and it seems related to the JavaScript. e.g. when you try any ajaxable field : org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit createResponseWriter SEVERE: No RenderingContext has been created. then I tried the additional Ajax4jsf-Trinidad integration library. This library contains only one class 'TrinidadAjaxContext' : x-webapp/pom.xml########### <dependency> <groupId>net.java.dev.ajax4jsf</groupId> <artifactId>a4j-trinidad</artifactId> <version>1.0.5</version> </dependency> you need to download this Jar file from here <https://ajax4jsf.dev.java.net/servlets/ProjectDocumentList?folderID=5244&expandFolder=5244&folderID=6578>, and install that locally. after do above change , I still have some issue : org.apache.myfaces.trinidad.context.RenderingContext attach WARNING: Trying to attach RenderingContext to a thread that already had one. also this integration breaks my integration-test on two parts: 1_password hint 2_edit profile , It works from h:commandLink but doesn't work from Menu link! I guess these two are related to JavaScript (my weakness :-)). the guide which I need is : How can I bring **peace** into my project again !? ;-) any information related to this subject is appreciated. Rgd, Sid
