bobharner wrote > 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"/>
Thanks! It's strange because ComponentResources doesn't seem to have that property: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ComponentResources.html Anyway, it's good to know that I can use componentResources in the template, and I suppose I don't have to declare it in the Java class. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-this-page-object-from-the-template-tp5719073p5719079.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