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 09:27:02 UTC

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

Sven Meier created WICKET-5606:
----------------------------------

             Summary: 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: 6.15.0, 7.0.0-M1
            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)