[ https://issues.apache.org/jira/browse/TAP5-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014310#comment-14014310 ]
Thiago H. de Paula Figueiredo commented on TAP5-1658: ----------------------------------------------------- I haven't really investigated the ticket yet, but I think the only solution for when Submit is inside any kind of loop is to store its context in a hidden field and read it back when triggering the event, sort of like form fields do. > Submit context does not work inside Grid > ---------------------------------------- > > Key: TAP5-1658 > URL: https://issues.apache.org/jira/browse/TAP5-1658 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.3.7, 5.4, 5.2 > Reporter: Stephan Windmüller > Assignee: Jochen Kemnade > Attachments: TestGrid.tar.gz > > > About a year ago, bug #TAP-5-869 was about the usage of submit buttons with > context in loops. The bug was closed because using the defer parameter of the > submit button fixed the problem. > Now I have the same problem, but this time in a Grid rather than a loop > component. Defer is set to false but every time I click on a button, only the > context of the last one is used. > I created a small example demonstrating the problem, I will attach it to this > bugreport. Try clicking on every user and watch the console output: Always > the last user is printed. -- This message was sent by Atlassian JIRA (v6.2#6252)