Am 09.02.2010 15:49, Michael Prescott wrote:

If you can't count on JavaScript, then you need to do a round trip to the
server to add new form fields.. in which case, you should be okay using
conventional techniques.  (e.g. add a black entry to your List, re-render
the page).

I solved it now by

- Introducing an index for the loop and implementing getter and setter
  based on it
- Using PersistanceContants.FLASH for the list
- Injecting the same page, setting the list and passing the page in
  onSuccess

Why don't you want to use @Persist?

It breaks tabbed browsing. The user would not be able to open two tabs and edit separate lists before submitting them. Therefore I banned the use of @Persist in my application.

Regards
 Stephan

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

Reply via email to