Re: Bootstrap Confirmation [wicket-bootstrap-extensions 3.0.0-M10] + AjaxCheckBox

2019-05-07 Thread Martin Grigorov
Try to wrap the value in RawValue("...") ( https://github.com/l0rdn1kk0n/wicket-jquery-selectors/blob/e71e659aa52093f03984a9b2bcebdbf1b8db8e91/src/main/java/de/agilecoders/wicket/jquery/util/Json.java#L214 ) This way it will be JSON serialized as is. On Tue, May 7, 2019 at 4:38 PM nino martinez wa

Re: Bootstrap Confirmation [wicket-bootstrap-extensions 3.0.0-M10] + AjaxCheckBox

2019-05-07 Thread nino martinez wael
Hmm, after staring at this for a while, I now think the way forward must be to utilize the onConfirm callback from BootStrap Confirmation, but sadly Im stuck at making the de.agilecoders.wicket.extensions.markup.html.bootstrap.confirmation.ConfirmationConfig hold my callback, I've tried this: conf

Bootstrap Confirmation [wicket-bootstrap-extensions 3.0.0-M10] + AjaxCheckBox

2019-05-07 Thread nino martinez wael
Does not stop Wicket event (the invocation of the click event on ajaxcheckbox) from happening, any idea on howto stop it when the user selects cancel? updateAjaxAttributes in AjaxCheckBox does support a precondition via ajaxCallListener but that needs to return true of false. But I cannot see howt