Hi,

You can provide a non-null impl of
AjaxCheckBox#getAjaxCallDecorator(). This decorator can prepend/append
to the JavaScript that Wicket generates for the default 'onclick'
functionality.

On Thu, Nov 1, 2012 at 5:53 AM, steven.li <[email protected]> wrote:
> hi al
>
>  Is it possible to call onUpdate method and at the same time set javascript
> for the ajaxcheckbox component with add(new AttributeModifier("onclick",
> xxx)) ?
>
> as I have lots of logic implemented in javascript, but right now ,I need to
> use the onUpdate method to keep the checkbox state from page to page by
> modalvalue.
>
> how can I combine these two together ?
>
> Thanks.
>
>
>
> -----
> Steven Li
>
> Skyworthglobal www.skyworthglobal.com
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/AjaxCheckbox-javascript-with-onUpdate-together-tp4653512.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to