[Wicket-user] Run Javascript before Ajax Form submit

2006-09-18 Thread Karl M. Davis
Hello all, I have a form I'd like to submit via AJAX. The problem is, before the form can be submitted, I need to run a _javascript_ command: "tinyMCE.triggerSave(true, true);" I've tried adding a normal Button with it's getOnClickScript() overridden to return this. That works fine--

Re: [Wicket-user] Run Javascript before Ajax Form submit

2006-09-18 Thread Igor Vaynberg
use AjaxCallDecorator and decorate the script that formsubmittingajaxbehavior generates-IgorOn 9/18/06, Karl M. Davis [EMAIL PROTECTED] wrote: Hello all, I have a form I'd like to submit via AJAX. The problem is, before the form can be submitted, I need to run a _javascript_ command: