tapestry-user  

All pages listener/interceptor

albartell
Wed, 28 Dec 2005 15:09:46 -0800

I am looking for a slick way to implement a global "phase listener" that
will be used to check whether or not a user is logged in before letting them
proceed to a page on the site.  Here is an example of how I did it in JSF:
http://mowyourlawn.com/blog/?p=6
 
I have yet to find a global way in Tapestry...I know I could use a
PageBeginRenderListener but then I would have to put that code into each
page (yes I am a lazy programmer :-)
 
Thanks in advance, 
Aaron Bartell
http://mowyourlawn.com