Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Re: touble with messages.properites

- Re: touble with messages.properites

2007-07-18       - By gringalet

 Back
Reply:     1     2     3     4     5     6  

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

©2008 junlu.com - Jax Systems, LLC, U.S.A.