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 <jun.t...@gmail.com> wrote: > @Inject > private ComponentResources resources; > > resources.getPageName(); > > 2010/1/13 LiborGMC <l.pre...@gmc.net> > >> >> 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 pageName. >> Thanks in advance >> -- >> View this message in context: >> http://old.nabble.com/How-to-obtain-current-page-in-component%27s-code-tp27144292p27144292.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 >> >> > > > -- > regards, > Jun Tsai > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org