  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Re: touble with messages.properites | - Re: touble with messages.properites 2007-07-18 - By gringalet
Back my pages.xml <!DOCTYPE pages PUBLIC | "-//JBoss/Seam Pages Configuration DTD 1.2//EN" | "http://jboss.com/products/seam/pages-1 (See http://ges-1.ora-code.com).2.dtd"> | | <pages> | | <page view-id="/home.jsp" > | <navigation from-action="#{customerFinder.findCustomers}"> | <redirect view-id="/Customer/customer.jsp"/> | </navigation> | </page> | | <page view-id="/Customer/customer.jsp" > | <navigation from-action="#{customerFinder.findCustomers}"> | <redirect view-id="/Customer/customer.jsp"/> | </navigation> | </page> | | <page view-id="/Customer/updateCustomer.jsp" /> | <page view-id="/Customer/detailCustomer.jsp" /> | <page view-id="/Customer/newCustomer.jsp" /> | <page view-id="/Contact/updateContact.jsp" /> | <page view-id="/Contact/detailContact.jsp" /> | <page view-id="/Contact/newContact.jsp" /> | <page view-id="/Contact/contact.jsp" /> | <page view-id="/Customer/*" login-required="true" /> | <page view-id="/Contact/*" login-required="true" /> | <exception class="org.jboss.seam.security.NotLoggedInException"> | <redirect view-id="/login.xhtml"> | <message> | You must be logged in to perform this action | </message> | </redirect> | </exception> | | <exception class="org.jboss.seam.security.AuthorizationException"> | <end-conversation /> | <redirect view-id="/security_error.xhtml"> | <message> | You do not have the necessary security privileges to | perform this action. | </message> | </redirect> | </exception> | | </pages> |
my faces-config.xml: <!DOCTYPE pages PUBLIC | "-//JBoss/Seam Pages Configuration DTD 1.2//EN" | "http://jboss.com/products/seam/pages-1 (See http://ges-1.ora-code.com).2.dtd"> | <faces-config> | <managed-bean> | <managed-bean-name>library2</managed-bean-name> | <managed-bean-class>com.WCRM.departmenttree.Library</managed-bean -class> | <managed-bean-scope>request</managed-bean-scope> | </managed-bean> | | | <navigation-rule> | | <navigation-case> | <from-outcome>home</from-outcome> | <to-view-id>/home.jsp</to-view-id> | <redirect view-id="/home.jsp"/> | </navigation-case> | <navigation-case> | <from-outcome>login</from-outcome> | <to-view-id>/Login/login.jsp</to-view-id> | <redirect view-id="/Login/login.jsp"/> | </navigation-case> | <navigation-case> | <from-outcome>loggedIn</from-outcome> | <to-view-id>/home.jsp</to-view-id> | </navigation-case> | <navigation-case> | <from-outcome>customer</from-outcome> | <to-view-id>/Customer/customer.jsp</to-view-id> | <redirect view-id="/Customer/customer.jsp"/> | </navigation-case> | | | | | <navigation-case> | <from-outcome>department</from-outcome> | <to-view-id>/dt.jsp</to-view-id> | <redirect view-id="/dt.jsp"/> | </navigation-case> | | | | <navigation-case> | <from-outcome>newCustomer</from-outcome> | <to-view-id>/Customer/newCustomer.jsp</to-view-id> | </navigation-case> | <navigation-case> | <from-outcome>detailCustomer</from-outcome> | <to-view-id>/Customer/detailCustomer.jsp</to-view-id> | </navigation-case> | <navigation-case> | <from-outcome>updateCustomer</from-outcome> | <to-view-id>/Customer/updateCustomer.jsp</to-view-id> | </navigation-case> | | | <navigation-case> | <from-outcome>contact</from-outcome> | <to-view-id>/Contact/contact.jsp</to-view-id> | </navigation-case> | <navigation-case> | <from-outcome>newContact</from-outcome> | <to-view-id>/Contact/newContact.jsp</to-view-id> | </navigation-case> | <navigation-case> | <from-outcome>detailContact</from-outcome> | <to-view-id>/Contact/detailContact.jsp</to-view-id> | </navigation-case> | <navigation-case> | <from-outcome>updateContact</from-outcome> | <to-view-id>/Contact/updateContact.jsp</to-view-id> | </navigation-case> | | <navigation-case> | <from-outcome>editUser</from-outcome> | <to-view-id>/Login/editUser.jsp</to-view-id> | </navigation-case> | </navigation-rule> | <!-- i18n --> | | | <application> | <locale-config> | <default-locale>zh</default-locale> | <supported-locale>en</supported-locale> | <supported-locale>en_US</supported-locale> | <supported-locale>en_AU</supported-locale> | <supported-locale>de</supported-locale> | <supported-locale>fr</supported-locale> | </locale-config> | </application> | | <!-- Same for all Seam applications --> | | <lifecycle> | <phase-listener> | org.jboss.seam.jsf.TransactionalSeamPhaseListener | </phase-listener> | </lifecycle> | | </faces-config>
please give me a hand.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4065398#4065398
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4065398 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |