[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

javabr do-not-reply at jboss.com
Sun May 20 20:22:47 EDT 2007


I am sorry, I forget:

My components.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <components xmlns="http://jboss.com/products/seam/components"
  | 	xmlns:core="http://jboss.com/products/seam/core"
  | 	xmlns:web="http://jboss.com/products/seam/web"
  | 	xmlns:drools="http://jboss.com/products/seam/drools"
  | 	xmlns:security="http://jboss.com/products/seam/security"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  | 	xmlns:mail="http://jboss.com/products/seam/mail"
  | 	xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd 
  |                  http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.2.xsd
  |                  http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd
  |                  http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd
  |                  http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd">
  | 
  | 	<core:init debug="true" jndi-pattern="@jndiPattern@" />
  | 
  | 	<core:manager concurrent-request-timeout="500"
  | 		conversation-timeout="120000" conversation-id-parameter="cid"
  | 		conversation-is-long-running-parameter="clr" />
  | 
  | 	<core:managed-persistence-context name="entityManager"
  | 		auto-create="true"
  | 		persistence-unit-jndi-name="java:/etaskEntityManagerFactory" />
  | 
  | 	<core:ejb installed="@embeddedEjb@" />
  | 
  | 	<drools:rule-base name="securityRules">
  | 		<drools:rule-files>
  | 			<value>/security.drl</value>
  | 		</drools:rule-files>
  | 	</drools:rule-base>
  | 
  | 	<security:identity
  | 		authenticate-method="#{authenticator.authenticate}"
  | 		security-rules="#{securityRules}" remember-me="true" />
  | 
  | 	<event type="org.jboss.seam.notLoggedIn">
  | 		<action expression="#{redirect.captureCurrentView}" />
  | 	</event>
  | 	<event type="org.jboss.seam.postAuthenticate">
  | 		<action expression="#{redirect.returnToCapturedView}" />
  | 	</event>
  | 
  | 	<!-- For use with jBPM pageflow or process management -->
  | 	<!--  
  |    <core:jbpm>
  |       <core:process-definitions></core:process-definitions>
  |       <core:pageflow-definitions></core:pageflow-definitions>
  | 		</core:jbpm>
  | 	-->
  | 
  | 	<web:multipart-filter create-temp-files="true"
  | 		max-request-size="100000000" url-pattern="*.seam" />
  | 
  | 	<mail:mail-session session-jndi-name="java:/Mail" />
  | 
  | 	<mail:mail-session host="mail.bittecnologia.com" />
  | 
  | 
  | 	<core:resource-bundle>
  | 		<core:bundle-names>
  | 			<value>messages</value>
  | 		</core:bundle-names>
  | 	</core:resource-bundle>
  | 
  | 	<core:dispatcher />
  | 
  | </components>
  | 


My web.xml:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <web-app version="2.4" 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_4.xsd">
  | 
  | 	<description>workflow for everything</description>
  | 	<display-name>eTask</display-name>
  | 
  | 	<!-- Ajax4jsf (must come first!) -->
  | 
  | 	<filter>
  | 		<filter-name>ajax4jsf</filter-name>
  | 		<filter-class>org.ajax4jsf.Filter</filter-class>
  | 	</filter>
  | 
  | 	<filter-mapping>
  | 		<filter-name>ajax4jsf</filter-name>
  | 		<url-pattern>*.seam</url-pattern>
  | 		<dispatcher>REQUEST</dispatcher>
  | 		<dispatcher>FORWARD</dispatcher>
  | 		<dispatcher>INCLUDE</dispatcher>
  | 	</filter-mapping>
  | 
  | 	<context-param>
  | 		<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  | 		<param-value>
  | 			org.jboss.seam.ui.facelet.SeamFaceletViewHandler
  | 		</param-value>
  | 	</context-param>
  | 
  | 	<!-- Seam -->
  | 
  | 	<listener>
  | 		<listener-class>
  | 			org.jboss.seam.servlet.SeamListener
  | 		</listener-class>
  | 	</listener>
  | 
  | 	<filter>
  | 		<filter-name>Seam Filter</filter-name>
  | 		<filter-class>org.jboss.seam.web.SeamFilter</filter-class>
  | 	</filter>
  | 
  | 	<filter-mapping>
  | 		<filter-name>Seam Filter</filter-name>
  | 		<url-pattern>/*</url-pattern>
  | 	</filter-mapping>
  | 
  | 	<servlet>
  | 		<servlet-name>Seam Resource Servlet</servlet-name>
  | 		<servlet-class>
  | 			org.jboss.seam.servlet.ResourceServlet
  | 		</servlet-class>
  | 	</servlet>
  | 
  | 	<servlet-mapping>
  | 		<servlet-name>Seam Resource Servlet</servlet-name>
  | 		<url-pattern>/seam/resource/*</url-pattern>
  | 	</servlet-mapping>
  | 
  | 	<!-- Facelets development mode (disable in production) -->
  | 
  | 	<context-param>
  | 		<param-name>facelets.DEVELOPMENT</param-name>
  | 		<param-value>true</param-value>
  | 	</context-param>
  | 
  | 	<context-param>
  | 		<param-name>facelets.LIBRARIES</param-name>
  | 		<param-value>
  | 			/WEB-INF/creator.taglib.xml;/WEB-INF/bit.taglib.xml
  | 		</param-value>
  | 	</context-param>
  | 
  | 	<!-- JSF -->
  | 	<context-param>
  | 		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  | 		<param-value>server</param-value>
  | 	</context-param>
  | 
  | 	<context-param>
  | 		<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
  | 		<param-value>.xhtml</param-value>
  | 	</context-param>
  | 
  | 	<servlet>
  | 		<servlet-name>ThemeServlet</servlet-name>
  | 		<servlet-class>
  | 			com.sun.rave.web.ui.theme.ThemeServlet
  | 		</servlet-class>
  | 	</servlet>
  | 
  | 
  | 	<servlet-mapping>
  | 		<servlet-name>ThemeServlet</servlet-name>
  | 		<url-pattern>/etask/theme/*</url-pattern>
  | 	</servlet-mapping>
  | 
  | 	<servlet-mapping>
  | 		<servlet-name>ThemeServlet</servlet-name>
  | 		<url-pattern>/theme/*</url-pattern>
  | 	</servlet-mapping>
  | 
  | 	<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>
  | 
  | 
  | 
  | 	<session-config>
  | 		<session-timeout>120</session-timeout>
  | 	</session-config>
  | 	<security-constraint>
  | 		<display-name>Restrict raw XHTML Documents</display-name>
  | 		<web-resource-collection>
  | 			<web-resource-name>XHTML</web-resource-name>
  | 			<url-pattern>*.xhtml</url-pattern>
  | 		</web-resource-collection>
  | 		<auth-constraint>
  | 			<role-name>NONE</role-name>
  | 		</auth-constraint>
  | 	</security-constraint>
  | 
  | </web-app>
  | 

My faces-config.xml:


  | <faces-config version="1.2" 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-facesconfig_1_2.xsd">
  | 
  | 	<application>
  | 		<el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
  | 		<message-bundle>messages</message-bundle>
  | 	</application>
  | 
  | 	<lifecycle>
  | 		<phase-listener>
  | 			org.jboss.seam.jsf.TransactionalSeamPhaseListener
  | 		</phase-listener>
  | 	</lifecycle>
  | 
  | 	<converter>
  | 		<converter-id>actorGroupConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ActorGroupConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>actorAndActorGroupConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ActorAndActorGroupConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>searchConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.SearchConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>configConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ConfigConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>actorGroupIntegerConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ActorGroupIntegerConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>actorConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ActorConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>priorityConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.PriorityConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>statusConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.StatusConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>statusOptionConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.StatusOptionConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>taskConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.TaskConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>taskGroupConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.TaskGroupConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>tasktypeConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.TasktypeConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>fieldNameConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ExtraFieldNameConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>workspaceConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.WorkspaceConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>
  | 			javax.faces.convert.IntegerConverter
  | 		</converter-id>
  | 		<converter-class>
  | 			javax.faces.convert.IntegerConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>resourcetypeConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ResourcetypeConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<converter>
  | 		<converter-id>resourceConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.ResourceConverter
  | 		</converter-class>
  | 	</converter>
  | 	
  | 	<converter>
  | 		<converter-id>IntegerConverter</converter-id>
  | 		<converter-class>
  | 			org.bit.etask.converter.IntegerConverter
  | 		</converter-class>
  | 	</converter>
  | 
  | 	<validator>
  | 		<validator-id>actorGroupValidator</validator-id>
  | 		<validator-class>
  | 			org.bit.etask.converter.ActorGroupValidator
  | 		</validator-class>
  | 	</validator>
  | 
  | </faces-config>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047084#4047084

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047084



More information about the jboss-user mailing list