Re: concurrent modification problem in a dynamic form
"Viktor Szathmary" <[email protected]> Sat, 04 Jan 2003 18:32:09 -0500
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 5 Jan 2003 01:21:31 +0200, "Mindbridge" <[email protected]> said: > I can think of a couple of quick fixes that should resolve this > situation: > a) clone the list and pass an iterator of the clone to the Foreach this works, thx.. :) > b) delay the actual removal of the elements until the formSubmit() > listener > is called (accumulate the ones to delete in an array or sth like that) right now i'm doing it from the listener i set for the Submit component. do you mean i should do it from a listener i set on the Form itself? regards, viktor -- [email protected] -- http://fastmail.fm - Does exactly what it says on the tin ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf