Hi All,
Thanks for your advices, I resolved my problem.
i.e :
save : customAjaxSubmitbutton {
_onClickBefore_ = "tinyMCE.triggerSave();";
action ="" method
...
...
}
All My WOText Tab value bind to tinyMCE is set now.
Thanks.
Thanks for your advices, I resolved my problem.
i.e :
save : customAjaxSubmitbutton {
_onClickBefore_ = "tinyMCE.triggerSave();";
action ="" method
...
...
}
All My WOText Tab value bind to tinyMCE is set now.
Thanks.
Envoyé depuis iCloud
Le 11 jan 2012 à 14:53, Raymond NANEON <rnan...@me.com> a écrit :
Hi John,I think I go to try this :// Saves all contentstinyMCE.triggerSave();It may save all WOText Tab bind to tinyMCEs.Le 11 janv. 2012 à 23:35, Raymond NANEON a écrit :_______________________________________________Hi John,My titration must be like this ?function tinyMCESubmit() {for (element_Id in tinyMCE.editors)tinyMCE.editors[element_Id ].save();document.form.submit();}ThanksLe 11 janv. 2012 à 23:09, John & Kim Larson a écrit :I'm pretty sure it only saves the "active" editor, but I remember the API being pretty good. There is probably tinyMCE.editors or something that represents the collection of editors. You could iterate and save.JohnSent from my iPhoneThanks for your reply.I use AjaxTabPanel including 3 WOText bing and each WOText bind to tinyMCE. So the function tinyMCE.activeEditor.save() can save all WOText value at one time or selected WOText tab? If it save selected WOText tab, I have problem.Envoyé depuis iCloudLe 11 janv. 2012 à 22:48, John & Kim Larson a écrit :That's exactly right. Call tinyMCE.activeEditor.save() before making your Ajax request.JohnSent from my iPhoneHi 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.jwAm 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/rnaneon%40me.com
This email sent to rnan...@me.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/rnaneon%40me.com
This email sent to rnan...@me.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