You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Stephan Windmüller (JIRA)" <ji...@apache.org> on 2011/09/20 08:28:09 UTC

[jira] [Created] (TAP5-1658) Submit context does not work inside Grid

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.2.6
            Reporter: Stephan Windmüller


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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (TAP5-1658) Submit context does not work inside Grid

Posted by "Stephan Windmüller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Windmüller updated TAP5-1658:
-------------------------------------

    Attachment: TestGrid.tar.gz

> 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.2.6
>            Reporter: Stephan Windmüller
>         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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (TAP5-1658) Submit context does not work inside Grid

Posted by "Stephan Windmüller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Windmüller updated TAP5-1658:
-------------------------------------

    Attachment: TestGrid.tar.gz

> 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.2.6
>            Reporter: Stephan Windmüller
>         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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira