You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/06/04 19:47:02 UTC

[jira] [Resolved] (WICKET-5606) SelectOptions with #setRecreateChoices(true) loses selection on form errors

     [ https://issues.apache.org/jira/browse/WICKET-5606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5606.
-------------------------------------

    Resolution: Fixed

> SelectOptions with #setRecreateChoices(true) loses selection on form errors
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-5606
>                 URL: https://issues.apache.org/jira/browse/WICKET-5606
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 7.0.0-M1, 6.15.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 6.16.0, 7.0.0-M2
>
>
> Having SelectOptions#setRecreateChoices(true), on every render each choice is represented by a new SelectOption instance with a new UUID.
> If the form has submit errors, no UUID will match the RAW-Input of the Select. Thus the selection is lost.



--
This message was sent by Atlassian JIRA
(v6.2#6252)