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

[jira] [Closed] (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 ]

Sven Meier closed WICKET-5606.
------------------------------

    Resolution: Fixed

I've added a note to SelectOptions#setRecreateChoices().


> 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
>
> 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)