Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1658

Submit context does not work inside Grid

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.7, 5.4, 5.2
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      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.

        Attachments

        1. TestGrid.tar.gz
          0.7 kB
          Stephan Windmüller

          Issue Links

            Activity

              People

              • Assignee:
                jkemnade Jochen Kemnade
                Reporter:
                windy Stephan Windmüller
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: