yes, there is a configurable annotation workers, so you can
create/extend/override page methods when tapestry is preparing the
page/component class.
You can create your own class worker which will add the needed logic to
the mentioned attach event.
Take a look at the annotations module code and hivemind configuration.
Cheers,
Ron
karthik G wrote:
> I just want to add an annotation on the page and then take some action when
> the page is being bound to a request from the page pool.
>
> @SecuredPage
> abstract class MyPage extends BasePage{
>
> }
>
> Is there anyways i can hook into T4's page creation process and then
> depending upon the annotation take some action? For e.g in the above
> case, I
> just want to be able to check for a user object in the session and redirect
> to login page.
>
> I looked at PageAttachListener and it looks nice. But I dont want to
> implement that in my page but would like to attach a listener to T4 itself.
>
> thanks,
> Karthik
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]