On Fri, Apr 26, 2013 at 8:39 AM, eugenebalt <eugeneb...@yahoo.com> wrote:
> Igor,
>
> The problem is, you do check.setEnabled(false) in *ListView.populateItem()*
> for a CheckGroup control.

so?

> This method executes AFTER the Ajax update. It's too late to do
> check.setEnable(false) on the render of the CheckGroup's ListView. We need
> to disable/enable checkboxes in a CheckGroup as part of the Ajax update.

you call setenabled(false) on a check. then rerender it using ajax.
perhaps you should show some code so we can better understand what you
are trying to do.

-igor

>
> (This does work with CheckBoxMultipleChoice, because there is no ListView
> rendering and the checkboxes can be handled individually, but we need a grid
> layout and we don't get it with that control.)
>
> Thanks
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Disabling-Individual-Checkboxes-in-CheckGroup-tp4658165p4658320.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to