It doesn't work. You call commitBehavior.getCallbackScript() but :
Multiple markers at this line - The method add(Component...) in the type AjaxRequestTarget is not applicable for the arguments (CharSequence) - The method getCallbackScript() from the type AbstractDefaultAjaxBehavior is not visible I use Wicket 1.5.7. Do you think that is the problem ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Javascript-confirm-with-condition-before-submit-tp4659672p4659722.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