On Fri, 17 Sep 2010 12:58:52 -0300, Jack Nuzbit <fnuz...@googlemail.com> wrote:

Hi,

Hi!

Is there a way to create Pages and initialise their activation context at a service level?

I'm curious about what you're trying to accomplish here. :)

Is there a way I can set an activation/event context in this component using existing Tapestry services?

You can try doing exact the same thing components do to trigger events: the ComponentResources triggerEvent(...) method in your returned page instance. To get the ComponentResources for a given Component, use getComponentResources(). Never tried it myself, though.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to