Per http://tapestry.apache.org/link-components-faq.html it's pretty
easy to generate a link to the current page:

<t:pagelink page="prop:componentResources.pageName">refresh page</t:pagelink>

Similarly, you should be able to do this:

<t:myComponent t:page="prop:componentResources.pageName"/>


On Mon, Dec 31, 2012 at 7:40 AM, fmaylinch <ferranmayli...@gmail.com> wrote:
> Chris Poulsen wrote
>> Would it not be easier to simply inject ComponentResources in your
>> component class and use it for current page?
>
> Thanks! I didn't thought of that...
>
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073p5719077.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

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

Reply via email to