Hi everyone,

 

We have been using Tapestry 3 + Spring + Acegi for the last three years and
had a pretty decent integrated architecture going.  Now we are trying to
replace Tapestry 3 with Tapestry 5.  One of the things I am trying to do is
duplicate a base Tapestry page class that checks if the user is logged in.
If not, it will throw a RedirectException to the Login page.

 

I followed the following wiki page on the Tapestry 5 web site but it looks
like the method I added in the AppModule never gets call.  Hence, Tapestry 5
just throws the RedirectException all the way to the top and the app blows
up.

http://wiki.apache.org/tapestry/Tapestry5RedirectException

 

BTW, I am using the tapestry-spring module so it is configured to use the
TapestrySpringFilter, not the standard TapestryFilter.  I don't know if this
makes a difference.

 

I just started learning Tapestry 5 so I am not really sure how the AppModule
methods actually get call.  I tried adding debugging statements in the
methods but none of the log statements show up.

 

Hope someone can help or point the way to enlightenment.

 

Thanks in advance,

Ben Wong

Reply via email to