I guess this exception explains what I'm talking about

java.lang.NullPointerException: Unable to delegate method invocation to
property 'request' of <Proxy for
RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the
property is null.

*---------------------*
*Muhammad Gelbana*
Java Software Engineer


On Thu, Aug 29, 2013 at 5:11 PM, Muhammad Gelbana <m.gelb...@gmail.com>wrote:

> But I need to initially store some values and retrieve them later on.
>
> If I inject the *ApplicationStateManager* in the filter and store values
> in it, then retrieve these values later on through a tapestry service. How
> will tapestry know which session is currently active ?
>
> Shouldn't I wire the *ApplicationStateManager* service with the request
> session id somewhere ?
>
> Also after reviewing the api doc for the *ApplicationStateManager *
> service:
>
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/ApplicationStateManager.html
>
> What does SSO mean ?
>
> Thanks you
>
> *---------------------*
> *Muhammad Gelbana*
> Java Software Engineer
>
>
> On Thu, Aug 29, 2013 at 4:48 PM, Thiago H de Paula Figueiredo <
> thiag...@gmail.com> wrote:
>
>> On Thu, 29 Aug 2013 10:45:26 -0300, Muhammad Gelbana <m.gelb...@gmail.com>
>> wrote:
>>
>>  I only need to enable session management in my tapestry code to refer to
>>> session stored values.
>>>
>>
>> If they're stored by @SessionState, just use the ApplicationStateManager
>> service. If they're set directly into the HttpSession, @Inject the Request
>> and use it getSession() method to grab the session.
>>
>>
>> --
>> Thiago H. de Paula Figueiredo
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to