That's exactly right. Call tinyMCE.activeEditor.save() before making your Ajax 
request. 

John 

Sent from my iPhone

On Jan 11, 2012, at 2:12 PM, Johann Werner <j...@oyosys.de> wrote:

> Hi Raymond,
> 
> isn't tinyMCE putting the editable text into an own html element and catching 
> the form's submit to put back the edited text into the original input field? 
> Then your problem would be that the AjaxSubmitButton doesn't trigger the 
> onSubmit event on the form as it will do an ajax request like its name 
> suggests. So you would have to manually call the necessary "cleanup" function 
> of tinyMCE from the onClickBefore binding prior sending of the form contents 
> takes place. But that's just a wild guess.
> 
> jw
> 
> 
> Am 10.01.2012 um 14:47 schrieb Raymond NANEON:
> 
>> Hi All,
>> 
>> I have a real problem using tinyMCE and CustomAjaxSubmitButton 
>> (ajaxSubmitButton with icon (add, cancel, delete)). The problem is on 
>> submitting action, data are always set to null and when I use request form 
>> field values, there are also null. But When I use the classic 
>> WOSubmitButton, the request form field value are set.
>> 
>> So, What the problem of AjaxSubmitButton ? What is the difference in 
>> submitting action between WOSubmitButton and AjaxSubmitButton?
>> 
>> Thanks for your help.
>> Envoyé depuis iCloud
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.de
>> 
>> This email sent to j...@oyosys.de
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/the_larsons%40mac.com
> 
> This email sent to the_lars...@mac.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to