[ http://issues.apache.org/jira/browse/WICKET-64?page=all ]

Igor Vaynberg resolved WICKET-64.
---------------------------------

    Resolution: Fixed

> Check/Radio fail in a GridView with item reuse strategy
> -------------------------------------------------------
>
>                 Key: WICKET-64
>                 URL: http://issues.apache.org/jira/browse/WICKET-64
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.3
>            Reporter: Igor Vaynberg
>         Assigned To: Igor Vaynberg
>             Fix For: 1.3, 2.0
>
>         Attachments: thepatch.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to