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
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
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
>
>
-