Hello,

Is there any way to genericaly extract activation context (array or EventContext) from some page instance?

I'm asking this because I want my page authorization to work in a way to remember what page and activation context has been requested by unauthorized user, so that after he logs in successfuly, I would redirect him to that requested page. For that to work, inside my SecuredPage superclass, I have to be able to extract requested page name (which is easy) and also activation context (which I don't know how), so I would be able to store them inside LogIn page form for later access in case of successful login.

BTW, is there also some generic way to apply activation context on page instance without calling onActivate insid ecode, because I would probably have something like:

public void onActivate(Long id) {...}

whereas I have activation in a array form?

Or some other suggestion for implementing this feature maybe? I guess this functionality would also be useful for implementing some generic breadcrumbs component....

Regards,
Vjeran


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

Reply via email to