Hello, anonymous wrote : added the trinidad and a4j-trinidad jar
Can you be more specefic? trinidad-api-incubator-m1-SNAPSHOT.jar and trinidad-impl-incubator-m1-SNAPSHOT.jar? anonymous wrote : to WEB-INF/lib and added them to the build.xml to be added to the ear are they copied in the root of the project ear or in the WEB-INF/lib of the project war? About the config files, mines are below. Regards Pierre | <?xml version="1.0" encoding="UTF-8"?> | <web-app version="2.5" | xmlns="http://java.sun.com/xml/ns/javaee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | | [...] | | <!-- Ajax4jsf (must come before the other filters!) --> | | <!-- | <context-param> | <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> | <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value> | </context-param> | --> | | <filter> | <display-name>Ajax4jsf Filter</display-name> | <filter-name>ajax4jsf</filter-name> | <filter-class>org.ajax4jsf.Filter</filter-class> | <init-param> | <param-name>forceparser</param-name> | <param-value>false</param-value> | </init-param> | </filter> | | <filter-mapping> | <filter-name>ajax4jsf</filter-name> | <url-pattern>*.seam</url-pattern> | </filter-mapping> | | <!-- Trinidad --> | | <context-param> | <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> | <!-- | <param-value>com.sun.facelets.FaceletViewHandler</param-value> | --> | <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value> | </context-param> | | <context-param> | <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name> | <param-value>false</param-value> | </context-param> | | <context-param> | <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name> | <param-value>true</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>trinidad</filter-name> | <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry --> | <servlet-name>Faces Servlet</servlet-name> | <dispatcher>REQUEST</dispatcher> | <dispatcher>FORWARD</dispatcher> | <dispatcher>INCLUDE</dispatcher> | </filter-mapping> | | <!-- resource loader servlet --> | <servlet> | <servlet-name>resources</servlet-name> | <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class> | </servlet> | | <servlet-mapping> | <servlet-name>resources</servlet-name> | <url-pattern>/adf/*</url-pattern> | </servlet-mapping> | | <!-- Seam --> | | <listener> | <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> | </listener> | | <filter> | <filter-name>Seam Exception Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class> | </filter> | | <filter-mapping> | <filter-name>Seam Exception Filter</filter-name> | <url-pattern>/*</url-pattern> | </filter-mapping> | | <!-- Propagate conversations through redirects --> | | <filter> | <filter-name>Seam Redirect Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class> | </filter> | | <filter-mapping> | <filter-name>Seam Redirect Filter</filter-name> | <url-pattern>*.seam</url-pattern> | </filter-mapping> | | <!-- Faces servlet --> | | <servlet> | <servlet-name>Faces Servlet</servlet-name> | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | <load-on-startup>1</load-on-startup> | </servlet> | | <servlet-mapping> | <servlet-name>Faces Servlet</servlet-name> | <url-pattern>*.seam</url-pattern> | </servlet-mapping> | | <!-- MyFaces --> | | <listener> | <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> | </listener> | | [...] | | </web-app> | and I have in faces-config.xml | <application> | <!-- No FaceletViewHandler in this file | <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> | <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler> | --> | <!-- Use the Trinidad RenderKit AND the ajax4jsf view handler --> | <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id> | <view-handler>org.ajax4jsf.framework.ajax.AjaxViewHandler</view-handler> | </application> | | <!-- Seam transaction management --> | | <lifecycle> | <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener> | </lifecycle> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024586#4024586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024586 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user