[jboss-user] [JBoss Seam] - faces-config.xml is missing in booking example?

asookazian do-not-reply at jboss.com
Sat Oct 13 20:41:05 EDT 2007


Seam 2.0.0.CR2

I did a search and several of the other example projects have a faces-config.xml in the resources folder.

Why is this?  the booking example in 1.2.1.GA had a faces-config.xml.

Also, I want to start using facestrace to trace JSF lifecycle info:

http://facestrace.sourceforge.net/index.html

anybody used this with the Seam booking example?  I will need to add a faces-config.xml as follows, but it seems to be missing from the instructions to do this:


  | <faces-config>
  | 	<managed-bean>
  | 		<managed-bean-name>traceData</managed-bean-name>
  | 		<managed-bean-class>net.sf.facestrace.TraceData</managed-bean-class>
  | 		<managed-bean-scope>request</managed-bean-scope>
  | 	</managed-bean>
  | 
  | 	<lifecycle>
  |       <phase-listener>net.sf.facestrace.phase.listener.RestoreViewPhaseListener</phase-listener>
  |       <phase-listener>net.sf.facestrace.phase.listener.ApplyRequestValuesPhaseListener</phase-listener>
  |       <phase-listener>net.sf.facestrace.phase.listener.ProcessValidationsPhaseListener</phase-listener>
  |       <phase-listener>net.sf.facestrace.phase.listener.UpdateModelValuesPhaseListener</phase-listener>
  |       <phase-listener>net.sf.facestrace.phase.listener.InvokeApplicationPhaseListener</phase-listener>
  |       <phase-listener>net.sf.facestrace.phase.listener.RenderResponsePhaseListener</phase-listener>
  |       <phase-listener>net.sf.facestrace.phase.listener.TraceResourcePhaseListener</phase-listener>
  |    </lifecycle>
  | 
  | 	<component>
  | 		<component-type>net.sf.facestrace.component.Trace</component-type>
  | 		<component-class>net.sf.facestrace.component.Trace</component-class>
  | 	</component>
  | 
  | </faces-config>

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

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



More information about the jboss-user mailing list