I would download the latest 1.1.0.GA of Seam. I too was just using the CR2 version. As with any software there are a few other hoops you will have to jump through.
My faces-config.xml has the following: | | <faces-config> | | <managed-bean> | <managed-bean-name>highlight</managed-bean-name> | <managed-bean-class>com.icesoft.faces.context.effects.Highlight</managed-bean-class> | <managed-bean-scope>application</managed-bean-scope> | </managed-bean> | | <application> | <message-bundle>messages</message-bundle> | <!-- view-handler>com.sun.facelets.FaceletViewHandler</view-handler --> | <view-handler>com.icesoft.faces.facelets.D2DSeamFaceletViewHandler</view-handler> | </application> | | <!-- Seam transaction management --> | <lifecycle> | <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener> | </lifecycle> | </faces-config> | My application.xml has the following: | | <application> | <display-name>Seam Generated Application</display-name> | <description>created by seam-gen</description> | | <module> | <web> | <web-uri>CloosterWeb20.war</web-uri> | <context-root>/Clooster</context-root> | </web> | </module> | <module> | <java>jboss-seam.jar</java> | </module> | <module> | <ejb>CloosterWeb20.jar</ejb> | </module> | <module> | <java>icefaces.jar</java> | </module> | <module> | <java>icefaces-facelets.jar</java> | </module> | <module> | <java>icefaces-comps.jar</java> | </module> | <module> | <java>jbpm-3.1.2.jar</java> | </module> | <module> | <java>el-api.jar</java> | </module> | <module> | <java>el-ri.jar</java> | </module> | </application> | And here is my web.xml | | <?xml version="1.0" ?> | <web-app version="2.5" | xmlns="http://java.sun.com/xml/ns/j2ee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"> | | <context-param> | <param-name>javax.faces.CONFIG_FILES</param-name> | <param-value>/WEB-INF/navigation.xml</param-value> | </context-param> | | <!-- Seam --> | <listener> | <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> | </listener> | | <!-- Propagate conversations across 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> | --> | | <!-- propogate seam context to servlets (pvm) addition --> | <filter> | <filter-name>Seam Servlet Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamServletFilter</filter-class> | </filter> | <filter-mapping> | <filter-name>Seam Servlet Filter</filter-name> | <url-pattern>/servlet/*</url-pattern> | </filter-mapping> | <!-- end seam context to servlets --> | | <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>*.seam</url-pattern> | </filter-mapping> | | <!-- End Seam --> | | | <!-- JSF --> | <context-param> | <param-name>javax.faces.STATE_SAVING_METHOD</param-name> | <param-value>client</param-value> | </context-param> | | <context-param> | <param-name>javax.faces.DEFAULT_SUFFIX</param-name> | <param-value>.xhtml</param-value> | </context-param> | | <context-param> | <param-name>facelets.DEVELOPMENT</param-name> | <param-value>true</param-value> | </context-param> | | <context-param> | <param-name>com.icesoft.faces.actionURLSuffix</param-name> | <param-value>.seam</param-value> | </context-param> | | <context-param> | <param-name>com.icesoft.faces.synchronousUpdate</param-name> | <param-value>true</param-value> | </context-param> | | <servlet> | <servlet-name>Faces Servlet</servlet-name> | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | <load-on-startup>1</load-on-startup> | </servlet> | | <!-- Faces Servlet Mapping --> | <!-- | <servlet-mapping> | <servlet-name>Faces Servlet</servlet-name> | <url-pattern>*.seam</url-pattern> | </servlet-mapping> | | --> | | <servlet> | <servlet-name>Blocking Servlet</servlet-name> | <servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class> | <load-on-startup> 1 </load-on-startup> | </servlet> | | <servlet> | <servlet-name>Persistent Faces Servlet</servlet-name> | <servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class> | <load-on-startup>1</load-on-startup> | </servlet> | | <servlet-mapping> | <servlet-name>Persistent Faces Servlet</servlet-name> | <url-pattern>/xmlhttp/*</url-pattern> | </servlet-mapping> | | <servlet-mapping> | <servlet-name>Persistent Faces Servlet</servlet-name> | <url-pattern>/xmlhttp/*</url-pattern> | </servlet-mapping> | | <servlet-mapping> | <servlet-name>Persistent Faces Servlet</servlet-name> | <url-pattern>*.iface</url-pattern> | </servlet-mapping> | | <!-- Blocking Servlet Mapping --> | <servlet-mapping> | <servlet-name>Blocking Servlet</servlet-name> | <url-pattern>/block/*</url-pattern> | </servlet-mapping> | | | <!-- Faces Servlet Mapping --> | <servlet-mapping> | <servlet-name>Persistent Faces Servlet</servlet-name> | <url-pattern>*.seam</url-pattern> | </servlet-mapping> | | <!-- MyFaces --> | <listener> | <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> | </listener> | <!-- End MyFaces --> | | <!-- JSF RI --> | <!-- | <listener> | <listener-class>com.sun.faces.config.ConfigureListener</listener-class> | </listener | --> | </web-app> | | When upgrading from CR2 to GA I just made sure to copy my seam-gen/build.properties to from my CR2 to GA directory. I also then copied the GA jboss-seam*.jar (minus the sem-gen.jar) to my own eclipse project's lib directory. I'm no expert, in fact I'm a seam newbie. Only been using it for 2 weeks max. Regardless, I was able to get my project running with Icefaces. You'll notice a pretty significant difference when jboss starts up. I'm using 4.0.5 GA. Hope this is of help. PVM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995781#3995781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995781 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
