[jboss-user] [JBoss Seam] - Re: login-required and no-conversation-view-id causing infin

buckmin do-not-reply at jboss.com
Mon Aug 27 04:11:48 EDT 2007


i ran into a similar problem lately. i dont know if its the same that you have, but i think you can give it a try. seam-genned pages.xml does not define a redirect view-id for AuthorizationException

  | <exception class="org.jboss.seam.security.AuthorizationException">
  |     <redirect>
  |         <message>You don't have permission to do this</message>
  |     </redirect>
  | </exception>
  | 

as you can guess i changed this to redirect to some error.xhtml

  | <exception class="org.jboss.seam.security.AuthorizationException">
  |     <redirect view-id="/error.xhtml">
  |         <message>You don't have permission to do this</message>
  |     </redirect>
  | </exception>
  | 

if that's the case for you too, yes its still a bug but a minor one i think.

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

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



More information about the jboss-user mailing list