Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The following page has been changed by JanVissers:
http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess

The comment on the change is:
Without 'return true;' after the response.sendRedirect you'll get an error.

------------------------------------------------------------------------------
      /* This page can't be requested by a non authentified user => we redirect 
him on the signon page */
      if(!canAccess) {
        response.sendRedirect(request.getContextPath() + LOGIN_PAGE);
+       return true; //Make sure to leave the chain
      }
          
      return false;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to