Hi there.

Is there a lifecycle method that gets called after a page is activated?
My usecase is in an abstract page that defines some common events I want to be 
able to call form every page.

AbstractPage -> MyPage

Now, in AbstractPage there is also some common logic that is equal for all 
pages. For example I need to change the included stylesheet based on some 
conditions.

For this purpose I created an abstract method that my pages need to provide. 
(getUser() for example). This all works perfect - BUT my pages should be able 
to use different activation contexts and use this information to provide their 
implementation of getUser().

Now - I can't use pageAttached because it is called before activation. I could 
use onActivate() but can't be sure my pages don't overwrite it or need 
different contexts.

So is there some lifecycle method to execute code after activation?
Or is there some simpler solution? Thanks for any pointers.

        Piero


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to