[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)

lle do-not-reply at jboss.com
Tue Dec 19 13:26:40 EST 2006


here is my faces-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
  |                               "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
  | <faces-config>
  |  <!-- Navigation rules for the risk app -->
  |  <navigation-rule>
  |   <navigation-case>
  |    <from-outcome>login</from-outcome>
  |    <to-view-id>/home.xhtml</to-view-id>
  |    <redirect/>
  |   </navigation-case>
  |   <navigation-case>
  |    <from-outcome>main</from-outcome>
  |    <to-view-id>/main.xhtml</to-view-id>    
  |   </navigation-case>
  |   <navigation-case>
  |    <from-outcome>error</from-outcome>
  |    <to-view-id>/error.xhtml</to-view-id>
  |    <redirect/>
  |   </navigation-case>
  |  </navigation-rule>
  |  
  |  <application>  
  |   <!-- Use the Trinidad RenderKit -->
  |   <default-render-kit-id>
  |     org.apache.myfaces.trinidad.core
  |   </default-render-kit-id>
  |  </application>
  |  
  |  <!-- Select one of the two standard persistence lifecycle models for the Seam application -->
  |  <lifecycle>
  |   <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
  |  </lifecycle>
  | </faces-config>

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

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



More information about the jboss-user mailing list