The method IPage.validate(IRequestCycle) exists for this 
purpose.

You can check if the user is logged in and otherwise has 
access.  If not, you can throw PageRedirectException, to 
force a different page to render the response.

--
[EMAIL PROTECTED]

http://tapestry.sf.net
> I want to implement a simple check before a page renders to ensure that
> the user has sufficient access to view the page.
> Where is the best place to do so?
>  
> Thanks
>  
> Luke Galea 
> Software Development
> BlueCat <http://www.bluecatnetworks.com/>  Networks
> 905-762-5225
>  
> 


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to