I have a problem similar to this question: Wicket: Can Ajax be enabled for Checkgroup?
I use ListView where each item has a checkbox. I also have a Select All checkbox. I use CheckGroup
, CheckGroupSelector
and Check
, and everything works fine. Now there is a new requirement to change state on some other controls on the page when updating flags.
Nicktar's suggestion in the above related question was the first thing that occurred to me, but I was not able to find out how to use AjaxCheckBox
with CheckGroup
/ CheckGroupSelector
. According to the document, you should use Check
.
But in this letter since 2008 , Igor Weinberg also states that you can use AjaxCheckBox
in CheckGroup
.
I tried this by simply replacing where I used Check
with AjaxCheckBox
, but it didnโt work, CheckGroupSelector
no longer found these checkboxes.
I also studied the use of the onSelectionChanged
method in CheckGroup
, but I would like to avoid using this, as it, as I understand it, starts another server to switch to another server.
Can someone tell me? Or is there another good solution for this?
By the way, I am using Wicket 1.4.
source share