In 5.2 there is a new method in RequestGlobals named getActivePageName().

See here:

http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/services/RequestGlobals.html#getActivePageName%28%29

2010/11/22 Antonio Fernández <amiguel.fernan...@gmail.com>

>
> Hi all, Greetings from Málaga :) !!!
>
> - Congratulations for the new Layout of the Web Site.
>
> - Thanks for this really active/useful mailing list, I founded a lot of
> solutions
> and interesting news about 3rd Libraries, upgradings and books ( here we
> continue
> waiting the english translation of the Igor´s Book :-* ... )
>
> - We are using the 'tapestry-googleanalytics' Library to obtain the
> statistics of our
> website. It works great, but now we need an specific customization to
> discard
> the work done by the GAnalyticsScriptsInjector class in some specific
> Pages. This
> class is an implementation of the _MarkupRendererFilter _interface, so here
> is the key. How
> could we know the classname  of the page that is being rendered inside a
> MarkupRendererFilter ? Is it possible ?
>
> We tried by inyecting the ComponentResources service inside ( inspired in
> the typical Layout component,
> that uses this service to determine the current page ) , but don´t works,
> T5 says that this service is not available.
>
> Thanks in advance & Have a nive day,
> Antonio
>
> P.D.: If you want to see another little example of
> what you can do EASILY with Tapestry 5, please
> take a look of our website ;-)
>
> --
> Antonio Miguel Fernández Rodríguez
> Jaraxa Software, SL
> Administrator, Software analyst
> www.jaraxa.com
>
>
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Reply via email to