>From the top of my head: MgnlContext.getAggregationState().getMainPage() Or of course you could look at the request which is provided in any filter.
-will On 09.11.2012, at 15:31, Tullio Bettinazzi (via Magnolia Forums) wrote: > A filter is a filter, I understand ;-) > But You are speaking about Servlet filters, how can I relate the HttpRequest > with the Document or the content the user is reading ? > Tks > Tullio > > -- > Context is everything: > http://forum.magnolia-cms.com/forum/thread.html?threadId=64417fbe-e6b1-4b1d-8957-1c9c1712489c > > > ---------------------------------------------------------------- > For list details, see http://www.magnolia-cms.com/community/mailing-lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
