How timely. I just needed to figure out how to do this and the answer
was in my inbox. You get a double thank you today!
Thanks!
mrg
On Wed, Jan 13, 2010 at 7:45 AM, Jun Tsai wrote:
> @Inject
> private ComponentResources resources;
>
> resources.getPageName();
>
> 2010/1/13 LiborGMC
>
>>
>>
Thank you very much!
--
View this message in context:
http://old.nabble.com/How-to-obtain-current-page-in-component%27s-code-tp27144292p27144805.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsub
@Inject
private ComponentResources resources;
resources.getPageName();
2010/1/13 LiborGMC
>
> Hi,
> can I obtain page in the code of component? I would like to get Zone
> component by calling
> "componentSource.getComponent("pageName:componentName.zone");" but I'm not
> sure how can I find out