Have you try injecting the application state manager
into your service and use the
application state manager to retreive the global ?
You could give the following a try.
Step1) Add the following to the <invoke-factory> of
your service :
<set-service property="appStateManager"
service-id="tapestry.state.ApplicationStateManager"/>
Step 2) In the .java file of your service add:
private ApplicationStateManager appStateManager;
public ApplicationStateManager
getAppStateManager() {
return appStateManager;
}
public void
setAppStateManager(ApplicationStateManager
appStateManager) {
this.appStateManager = appStateManager;
}
In the .java file of your service, to retrieve the
global, you could try
getAppStateManager().get("global");
Shing
--- Phillip Rhodes <[EMAIL PROTECTED]> wrote:
>
>
> I am writing an EmailVerificationService (user
> clicks on link in email and
> it hits my tapestry service).
>
> Inside my service, I need to have access to the
> application Global object
> (defined in my tapestry app spec file).
>
> I didn't see the application global object as an
> available option in the
> infrastructure objects.
>
> Any advice?
> Thanks.
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease
of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]