Am 12.05.2011 15:17, schrieb Martin Grigorov: > It looks like CheckGroupSelector doesn't support that right now. > Please file a ticket. > Attaching a quickstart will make it easier for us and it will be improved > sooner.
in the meantime I found a "solution": if (selected.size() == all.size()) { checkGroupSelector.add(new SimpleAttributeModifier("checked", "checked")); } where "selected" is the collection passed to the CheckGroup and "all" is the collection passed to the ListView populating the individual checkboxes. Do you guys still think there's need for a ticket? Maybe this should at least be added to the documentation for the CheckGroup? > On Thu, May 12, 2011 at 1:44 PM, heapifyman <heapify...@gmail.com> wrote: > >> Hello, >> >> I have a CheckGroup and the CheckGroupSelector. Everythings working fine >> so far except for one thing. If I check all checkboxes in the group >> (manually or through checking the CheckGroupSelector), save this to a >> database and reload the page, the individual checkboxes are correctly >> displayed as checked but the CheckGroupSelector is not, i.e.I have to >> click the CheckGroupSelector twice to uncheck all the individual >> checkboxes. >> So how do I let the CheckGroupSelector reflect the current state of the >> individual checkboxes when the page is loaded? >> >> Thanks for any hints >> >> >
signature.asc
Description: OpenPGP digital signature