tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-1658) Submit context does not work inside Grid
Date Thu, 29 May 2014 09:48:01 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012240#comment-14012240
] 

Jochen Kemnade commented on TAP5-1658:
--------------------------------------

No, that won't change anything. The problem is the submission, not the rendering. So we can
either copy all the interaction with {{FormSupport}} from the {{Loop}} component or just use
a {{Loop}} for the rows as well as for the cells.

> 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)

Mime
View raw message