On Wed, 09 Feb 2011 16:30:16 -0200, Wechsung, Wulf <wulf.wechs...@sap.com>
wrote:
Hi Users@tapestry,
Hi!
For this I need the active page name (many sources for that,
RequestGlobals i.e) and the the EventContext (which context parameters
where given when the page was called). The only way I found to get these
is via EventContext from
PageRenderRequestParameters.getActivationContext().
The only way I found to get the PageRenderRequestParameters was be
implementing a ComponentRequestFilter.
Use ComponentEventLinkEncoder.decodePageRenderRequest(Request request) for
that. It's exactly what Tapestry uses.
I would like to share a SessionStateObject (of a type I created) between
the filter (that knows which pages where accessed and their activation
contexts) and the component (that will render out the pagelinks).
In anything that isn't a page, component or mixin, you'll need to use the
ApplicationStateManager service.
--
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