Wicket
  1. Wicket
  2. WICKET-64

Check/Radio fail in a GridView with item reuse strategy

    Details

      Description

      Because check/radio use relative path from group->component as their value attribute they will lose value if that path changes. This happens when these components are used in a gridview with itemreuse strategy because the gridview has an intermediate repeater that changes the path

      so the path of a check can go from

      gridview:2:rowitem:5 where 2 is the id of the item of the intermediate repeater

      to

      gridview:3:rowitem:5

      and this will cause the input value to be lost.

      the solution is to use a value attribute that will not change across requests.

      1. thepatch.txt
        26 kB
        Igor Vaynberg

        Issue Links

          Activity

            People

            • Assignee:
              Igor Vaynberg
              Reporter:
              Igor Vaynberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development