[jboss-user] [JBoss Seam] - Re: Redirect to error-page for AuthorizationException with @

lisaanm do-not-reply at jboss.com
Thu Mar 15 06:10:07 EDT 2007


Hi.,
 I have the same question. If I programmatically throw NotLoggedInException, then the page is not redirected to the other page that is defined as below in pages.xml file


  | <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>
  | 

If anyone sucessfully integrated throw-exception-redirect, please share your comments.

Thanks

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

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



More information about the jboss-user mailing list