I'm trying to use a TinyMCE editor on a form (itself belonging to a panel added 
to a page via Ajax). The form is submitted via an AjaxButton. From other posts 
here and elsewhere I found I had to call "tinyMCE.triggerSave(true,true);" 
before the submit to get the data into the textarea's model and then 
"tinyMCE.idCounter=0;" after the submit. I used an IAjaxCallDecorator to add 
these functions to the submit button.

The problem is that the form only submits with every other press of the button. 
When it fails, it looks like no script appended after the triggerSave runs. Can 
anyone help me out? I'm stuck.

Thanks,
Brad

Reply via email to