Re: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-24 Thread Kalle Korhonen
Or, you can use a conversational scope - stored in session but as part of separate scope which can be set to expire earlier than the session itself. The library also supports multiple simultaneous conversations on different browser tabs. More at http://docs.codehaus.org/display/TRAILS/Conversations

Re: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread Thiago H. de Paula Figueiredo
Em Wed, 22 Jul 2009 05:51:23 -0300, Stephan Windmüller escreveu: It is really necessary to use a persistent store when all needed data is transmitted with each submit of the form? Tapestry does redirect-after-post by default, so some form of persistence is needed. You can also use the act

RE: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread De Saint Steban Emmanuel
-Message d'origine- De : Stephan Windmüller [mailto:stephan.windmuel...@cs.tu-dortmund.de] Envoyé : mercredi 22 juillet 2009 10:50 À : Tapestry users Objet : Re: Passing data to the same page - Understanding PersistanceContext.FLASH De Saint Steban Emmanuel

Re: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread Stephan Windmüller
Kristian Marinkovic schrieb: > you can use PersistenceConstants.CLIENT to store all your data > on the client side - with all iths pros and cons. This creates a very long URL. I found no way to force client persistence into a form. > another way - when using a form - you can use the onPrepare,

Re: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread Stephan Windmüller
De Saint Steban Emmanuel wrote: > PersistanceContext.FLASH is storing the object for only one time. > The data will be deleted after the first access. Okay, but what is meant by "first access"? Even writing the data with a debug logger? Or after the onActivate-method is finished? Is there a way t

Re: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread Kristian Marinkovic
events to load the previous created/saved list from a persistent store. g, kris Stephan Windmüller 22.07.2009 10:14 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Passing data to the same page - Understanding PersistanceContext.FLASH Kristian Marink

RE: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread De Saint Steban Emmanuel
PersistanceContext.FLASH is storing the object for only one time. The data will be deleted after the first access. Use just @Persist (or if you want to access in all page of your application use @ApplicationState Emmanuel Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'u

Re: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread Stephan Windmüller
Kristian Marinkovic wrote: > in your case you'd need the session scope (=default) But this will break if the user is creating several tasks in multiple browser tabs. When I summarize my issue it all comes to the following question: How do I access data that is stored in objects and submitted com

Re: Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-22 Thread Kristian Marinkovic
s Kopie Thema Passing data to the same page - Understanding PersistanceContext.FLASH Hello! On a page I want the user to create a new task and add users to it. The list of users should be extended with a button "Add another user" and is displayed

Passing data to the same page - Understanding PersistanceContext.FLASH

2009-07-21 Thread Stephan Windmüller
Hello! On a page I want the user to create a new task and add users to it. The list of users should be extended with a button "Add another user" and is displayed through a loop component. | | | | | | | | | | | | | | | | To realize this I annotated the task and the list of use