Standard OO features still work in Tapestry, you could 
implement that code in  MyProtectedPage class and inherit all pages from this 
superclass.
  Or it could be done on component level, for example border component could 
take care of such checks.
   
 

Kalle Korhonen <[EMAIL PROTECTED]> wrote: I would simply use a servlet filter 
for the purpose - either a custom
one or ready-made, such as securityfilter or AcegiSecurity.

Kalle

On 12/28/05, albartell  wrote:
> 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
>
>
>

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





Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

Reply via email to