On Tue, 20 May 2014 10:26:22 -0300, Ilya Obshadko
<ilya.obsha...@gmail.com> wrote:
Already tried this. Context provided to onSelected handler contains value
from the last iteration as well, so obviously that doesn't help.
Please post the template of this attempt.
I'm not persisting loop variable in a way you mean it. I'll try to
formulate the problem different: if submit element was triggered inside a
component enclosed by a loop, is it supposed to be handled by the SAME
component that contained this submit element?
Yep, but because a *single* instance of your component is rendered
multiple times. Many people have the wrong impression that when a
component is placed inside a Loop, one instance of the component will be
created for each rendering. This is not true.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org