What value are you binding to the loop's formState parameter? Have you tried 
"NONE"?

Robert

On Dec 22, 2010, at 12/226:03 AM , leandroaisp...@gmail.com wrote:

> Hi,
> Is there any solution for bug TAP5-587?
> I have searched in the releases notes, but a solution did not appear .
> My page needs to show an input text for each element of a variable size
> collection, that's the reason why I can't use blocks, the quantity needs to
> be variable. For that reason i have used the loop component but i get the
> exception that you can look at TAP5-587 .
> The cause of the bug is that when a volatile Loop in a form gets updated
> through Ajax and results in having less source items than on initial page
> render, a java.util.NoSuchElementException because the Loop seems to think
> there are more source items then there are.
> The report bug gives a solution, rewrite the Loop's advanceVolatile()
> method, but it doesn't work, that solves the NoSuchElementException but the
> form fails. The form wants to render some input, and read a null property of
> an object from the collection.
> I tried to use an if sentence in the .tml, but it doesn't work. Tapestry
> rendered the loop even if the condition is false, and throws the same
> exception.
> 
> Any ideas?


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

Reply via email to