Hi, and happy new year to all of you.

No i don't.

I suppressed all of myPageNamepage.xml in the WebContent and in my pages.xml i 
only have reference to my pagefolws.

Here is my pages.xml

  | <?xml version="1.0" encoding="UTF-8"?>
  | <pages xmlns="http://jboss.com/products/seam/pages";
  |        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |        xsi:schemaLocation="http://jboss.com/products/seam/pages 
http://jboss.com/products/seam/pages-2.0.xsd";
  |        login-view-id="/login.xhtml"
  |        no-conversation-view-id="/index.xhtml">  
  |         
  |     <page view-id="/login.xhtml">
  |             <navigation from-action="#{identity.login}">
  |               <rule if="#{identity.loggedIn}">
  |             <redirect view-id="/Activity.xhtml"/> 
  |             </rule>
  |             </navigation>
  |     </page>
  |     <page view-id="/Activity.xhtml" login-required="true">
  |             <begin-conversation join="true" pageflow="monPageflow"/>
  |    </page>   
  | 
  |    <page view-id="*">
  |     <navigation from-action="#{identity.logout}">
  |       <end-conversation/>
  |      <redirect view-id="/login.xhtml"></redirect>
  |     </navigation>
  |    </page>
  | 
  | 
  |     <exception class="org.jboss.seam.framework.EntityNotFoundException">
  |         <redirect view-id="/error.xhtml">
  |             <message>Not found</message>
  |         </redirect>
  |     </exception>
  |     
  |     <exception class="javax.persistence.EntityNotFoundException">
  |         <redirect view-id="/error.xhtml">
  |             <message>Not found</message>
  |         </redirect>
  |     </exception>
  |     
  |     <exception class="javax.persistence.OptimisticLockException">
  |         <end-conversation/>
  |         <redirect view-id="/error.xhtml">
  |             <message>Another user changed the same data, please try 
again</message>
  |         </redirect>
  |     </exception>
  |     
  |     <exception class="org.jboss.seam.security.AuthorizationException">
  |         <redirect view-id="/error.xhtml">
  |             <message>You don't have permission to do this</message>
  |         </redirect>
  |     </exception>
  |     
  |     <exception class="org.jboss.seam.security.NotLoggedInException">
  |         <redirect view-id="/login.xhtml">
  |             <message>Please log in first</message>
  |         </redirect>
  |     </exception>
  |     
  |     <exception class="javax.faces.application.ViewExpiredException">
  |         <redirect view-id="/error.xhtml">
  |             <message>Your session has timed out, please try again</message>
  |         </redirect>
  |     </exception>
  |     
  |     <exception class="javax.faces.application.IllegalNavigationException">
  |         <redirect view-id="/error.xhtml">
  |             <message>Your session has timed out, please try again</message>
  |         </redirect>
  |     </exception>
  |      
  |     <exception>
  |         <redirect view-id="/error.xhtml">
  |             <message>Unexpected error, please try again</message>
  |         </redirect>
  |     </exception>
  |     
  |     
  |     
  | </pages>
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116359
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to