hi there thiago,

thanks very much for the reply. the appstatemanager sure comes in handy,
thanks again for the advise.

wesley


Thiago H. de Paula Figueiredo wrote:
> 
> Em Wed, 01 Oct 2008 11:51:47 -0300, wesley <[EMAIL PROTECTED]>  
> escreveu:
> 
>> from the alternative ways of passing data around, can i say that using  
>> flash option; the data only lived on until the next page? after that any  
>> link to other page the flashed data will invalidated unless you set it  
>> again?
> 
> Yes. Flash persistence was created exactly to handle the  
> redirect-after-post technique.
> And don't forget Tapestry's application context: it is the best way to  
> pass a small amount of information from one page to another. ;)
> 
>> on another side using Application State, there's no other way to kill the
>> session unless to invalidate it. but the again, to invalidate the ASO,  
>> other objects which also bound to ASO will be wiped out as well am i  
>> correct?
> 
> If you invalidate the session, all ASO and @Persist'ed values will be  
> wiped out.
> On the other hand, you have ApplicationStateManager (a Tapestry service  
> that can be @Inject'ed in your page) and its set method  
> (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/ApplicationStateManager.html#set(java.lang.Class,
>   
> T)). It gives you the option of clearing a single ASO without wiping the  
> whole session.
> 
> Thiago
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/pass-list-of-string-object-between-Tapestry-pages-tp1128055p1132203.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to