You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by kk4Nabble <ka...@gmail.com> on 2008/12/09 08:19:39 UTC

To save the state of the session

Hi all,
I have a page with some values set..say suppose a checkbox is checked.
when i go to someother page and come back to this page, the state of the
page should be same..ie checkbox is still checked.
I want to save the state of the objects within the session
How to do this in tapestry?

Thanks in advance


-- 
View this message in context: http://www.nabble.com/To-save-the-state-of-the-session-tp20909888p20909888.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: To save the state of the session

Posted by Ulrich Stärk <ul...@spielviel.de>.
Use @Persist and read the docs (user's guide and tapestry-annotations 
documentation).

Uli

kk4Nabble schrieb:
> Thanks for the reply,
> Problem is I am using Tapestry 4.1.1.
> So Any ways to do it in this version .
> 
> Thank you
> 
> Ulrich Stärk wrote:
>> Use the @Persist annotation on your page properties (see 
>> http://tapestry.apache.org/tapestry5/guide/persist.html)
>>
>> Uli
>>
>> kk4Nabble schrieb:
>>> Hi all,
>>> I have a page with some values set..say suppose a checkbox is checked.
>>> when i go to someother page and come back to this page, the state of the
>>> page should be same..ie checkbox is still checked.
>>> I want to save the state of the objects within the session
>>> How to do this in tapestry?
>>>
>>> Thanks in advance
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: To save the state of the session

Posted by Andy Pahne <an...@googlemail.com>.
http://tapestry.apache.org/tapestry4.1/usersguide/state.html



kk4Nabble schrieb:
> Thanks for the reply,
> Problem is I am using Tapestry 4.1.1.
> So Any ways to do it in this version .
>
> Thank you
>
> Ulrich Stärk wrote:
>   
>> Use the @Persist annotation on your page properties (see 
>> http://tapestry.apache.org/tapestry5/guide/persist.html)
>>
>> Uli
>>
>> kk4Nabble schrieb:
>>     
>>> Hi all,
>>> I have a page with some values set..say suppose a checkbox is checked.
>>> when i go to someother page and come back to this page, the state of the
>>> page should be same..ie checkbox is still checked.
>>> I want to save the state of the objects within the session
>>> How to do this in tapestry?
>>>
>>> Thanks in advance
>>>
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: To save the state of the session

Posted by kk4Nabble <ka...@gmail.com>.
Thanks for the reply,
Problem is I am using Tapestry 4.1.1.
So Any ways to do it in this version .

Thank you

Ulrich Stärk wrote:
> 
> Use the @Persist annotation on your page properties (see 
> http://tapestry.apache.org/tapestry5/guide/persist.html)
> 
> Uli
> 
> kk4Nabble schrieb:
>> Hi all,
>> I have a page with some values set..say suppose a checkbox is checked.
>> when i go to someother page and come back to this page, the state of the
>> page should be same..ie checkbox is still checked.
>> I want to save the state of the objects within the session
>> How to do this in tapestry?
>> 
>> Thanks in advance
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/To-save-the-state-of-the-session-tp20909888p20910086.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: To save the state of the session

Posted by Ulrich Stärk <ul...@spielviel.de>.
Use the @Persist annotation on your page properties (see 
http://tapestry.apache.org/tapestry5/guide/persist.html)

Uli

kk4Nabble schrieb:
> Hi all,
> I have a page with some values set..say suppose a checkbox is checked.
> when i go to someother page and come back to this page, the state of the
> page should be same..ie checkbox is still checked.
> I want to save the state of the objects within the session
> How to do this in tapestry?
> 
> Thanks in advance
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org