RE: accessing state objects from EngineService

2006-10-09 Thread Schulte Marcus
Do something like this. c'tor of your service: public ExcelService( ApplicationStateManager asoMgr ) { this.asoMgr = asoMgr; } Anywhere in your service: asoMgr.get("whateverAsoName") hth, Marcus > -Original Message- > From: Marcus Irven [mailto:[EMAIL PROTECTED] > S

Re: accessing state objects from EngineService

2006-10-09 Thread James Carman
Dependency injection is much easier in 4.1. Tapestry will "autowire" HiveMind services into your components/pages (provided that there is exactly one service in the registry of the same type as the property). If you're on 4.0, there's a tapestry-autowire subproject (the code was added into Tapest

Re: accessing state objects from EngineService

2006-10-09 Thread Shing Hing Man
You might like to check out the following page. http://lombok.demon.co.uk/tapestry4Demo/Inject.html Shing -- Marcus Irven <[EMAIL PROTECTED]> wrote: > I have created a new engine service, how can I > access a State Object? > > Thanks, > Marcus > > -