Hello,

I'm looking at ways to automatically insert the name of the page being
rendered into each page (so my selenium tests can check the correct
page was finally rendered). This was done using a component I placed
on each page but I'm looking for a more elegant solution.

I've tried contributing a MarkupRendererFilter to add my tag via
writer.getDocument(). The only way I know to get hold of the current
page name is through ComoponentResources.getPageName(). But
ComoponentResources wasn't in the Environment and doesn't seem to be
"Shadowed" either.

Is MarkupRendererFilter the right object to contribute for this? And
if so, where would I get the current Page name from?

Cheers,

Steve.
--
Steve Eynon
mobie: (+592) 678 4236

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

Reply via email to