thank you for the hint, didn't even notice this service .... i saw that the BeanBlockSource service was using RequestPageCache, and so did i :)
g, kris "Filip S. Adamsen" <[EMAIL PROTECTED]> 05.05.2008 16:41 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An Tapestry users <users@tapestry.apache.org> Kopie Thema Re: Tap 5.0.11 : How to get page instance from page Hi, RequestPageCache is an internal service, it's better to use ComponentSource instead. It has methods to get a component or page by logical name. http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/services/ComponentSource.html -Filip On 2008-05-05 16:01, Kristian Marinkovic wrote: > @Inject > private RequestPageCache pageCache; > > pageCache.get(logicalName) > > > g, > kris > > > > > > > > Shing Hing Man <[EMAIL PROTECTED]> > 05.05.2008 15:53 > Bitte antworten an > "Tapestry users" <users@tapestry.apache.org> > > > An > tapestry Tapestry <[EMAIL PROTECTED]> > Kopie > > Thema > Tap 5.0.11 : How to get page instance from page > > > > > > > > Usually, I could use the following to inject a page > into another page > > @InjectPage > private DetailsPage details; > > How to retrieve an instance of a page if I am given > the logical name of a page as a String variable ? > > In Tap 4, I would use RequestCycle.getPage(pageName). > > Thanks in advance for any asistance! > > Shing > > Home page : http://www.lombok.demon.co.uk/ > > > > ___________________________________________________________ > Yahoo! For Good. Give and get cool things for free, reduce waste and help > our planet. Plus find hidden Yahoo! treasure > > http://green.yahoo.com/uk/earth-day/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]