Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-15 Thread Carl-Eric Menzel
Since there was no ticket filed yet for this, I created a new one: https://issues.apache.org/jira/browse/WICKET-3718 It contains a patch that adds this feature (I called it auto update) to CheckGroupSelector, and provides select-all components for the other types of checkboxes too. Please have a

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-13 Thread heapifyman
Am 12.05.2011 15:41, schrieb Martin Grigorov: I am not sure whether you solution actually works. I think they will be always the same. it is working fine for me here. On Thu, May 12, 2011 at 3:35 PM, heapifyman heapify...@gmail.com wrote: Am 12.05.2011 15:17, schrieb Martin Grigorov: It

CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread heapifyman
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

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread 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. On Thu, May 12, 2011 at 1:44 PM, heapifyman heapify...@gmail.com wrote: Hello, I have a CheckGroup and the

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread Carl-Eric Menzel
I ran into the same issue some time ago and did some work on (I think) the CheckGroupSelector, as well as Javascript selectors for the other types of checkboxes. I'll see over the weekend whether I can extract all that into a useful patch. Once heapifyman opens the ticket, I'll attach it there.

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread heapifyman
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()) {

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread Martin Grigorov
I am not sure whether you solution actually works. I think they will be always the same. On Thu, May 12, 2011 at 3:35 PM, heapifyman heapify...@gmail.com wrote: Am 12.05.2011 15:17, schrieb Martin Grigorov: It looks like CheckGroupSelector doesn't support that right now. Please file a