This should do the trick
@InjectObject("engine-service:page")
public abstract IEngineService getPageService();
Ben
-----Original Message-----
From: Wojtek Ciesielski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 11:18 AM
To: Tapestry users
Subject: T4.1.1: injecting service into page/component
Hi there - I need to obtain PageService within a method of my
page/component (to get textual link to the injected page). How can I do
this?
@InjectObject("service:tapestry.services.Page")
public abstract PageService getPageService();
is not working...
Thanks in advance,
Wojtek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]