tateContribution("session", creator));
}
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008 13:44
To: Tapestry users
Subject: Re: Accessing ApplicationStateManager from within a Filter
Jonathan,
You are correct. I am reall
configuration.add(UserState.class, new
ApplicationStateContribution("session", creator));
}
> -Original Message-
> From: Keith Bottner [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2008 13:44
> To: Tapestry users
> Subject
er 03, 2008 11:48
To: Tapestry users
Subject: Re: Accessing ApplicationStateManager from within a Filter
This is the hardest part about grasping Tapestry 5, knowing what you
can do and how you can do it when there seems to be an endless way to
tie things together that are loosely if at all documented. S
r [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2008 11:48
> To: Tapestry users
> Subject: Re: Accessing ApplicationStateManager from within a Filter
>
> This is the hardest part about grasping Tapestry 5, knowing what you
> can do and how you can do it when there seems to be
This is the hardest part about grasping Tapestry 5, knowing what you
can do and how you can do it when there seems to be an endless way to
tie things together that are loosely if at all documented. So I
apologize if the additional details to my original question lead to
one of these solutio
nes in the cookbook on this?
- Original Message -
From: "Howard Lewis Ship" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Saturday, 1 November, 2008 8:13:44 PM GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: Re: Accessing ApplicationStateManager from wi
When you contribute a filter, you need to instantiate it. Generally
it looks something like:
public void contributeRequestHandler(OrderedConfiguration
configuration, ObjectLocator locator)
{
configuration.add("MyFilter", locator.autobuild(MyFilter.class));
}
The ObjectLocator is a reso
You have to make your Filter a Tapestry service in your module and you have to have a constructor
parameter which is of type ApplicationStateManager. No need of @Inject inside your Filter.
Uli
Keith Bottner schrieb:
Is it possible to retrieve ApplicationStateManager from within a Filter?
I tr