[
https://issues.apache.org/jira/browse/WICKET-5885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sven Meier resolved WICKET-5885.
--------------------------------
Resolution: Won't Fix
Assignee: Sven Meier
Technically the CheckGroup is still visible, it's just that the enclosure
prevents rendering of it.
You should switch to EnclosureContainer or use Wicket 7 component queueing:
https://www.42lines.net/2014/02/28/component-queueing-in-wicket-7/
> Invisible CheckGroup empties the (list) model on form submit
> ------------------------------------------------------------
>
> Key: WICKET-5885
> URL: https://issues.apache.org/jira/browse/WICKET-5885
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 6.17.0
> Reporter: Matthias Braun
> Assignee: Sven Meier
> Attachments: myproject.zip
>
>
> When you have an invisible CheckGroup inside a form the CheckGroup collection
> model is cleared on form submit.
> This is not what I expect or want in my application.
> The CheckGroup panel is one part of a complex form that is set to invisible
> in a certain case of input parameters (because the user is not allowed to see
> it).
> The default/initial value of this CheckGroup is not an empty list, but
> contains some items and must not be cleared on form submit because those
> values have to be present when processing the form inputs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)