@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