tinymce replaces the textarea with an iframe. after that it installs
an onsubmit hook to detect when the form is submitted and does the
opposite. since you are submitting via ajax form's onsubmit() is never
called and so tinymce doesnt replace the iframe with a textarea piror
tp submit. you need to look at what that callback calls and call it
yourself....
-igor
On Feb 19, 2008 2:55 AM, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
> Hi Marc,
>
> I have the same problem. When i am submitting a textarea with a
> TinyMCEBehavior the model of the textarea does not get updated.
> I am interested in your solution, but I do not understand it.
>
> It would be nice if you (or anyone else) could explain it for me.
>
> Thanks in advance,
> Benjamin
>
> 2007/11/19, godin <[EMAIL PROTECTED]>:
>
> >
> > godin a écrit :
> > > Frank Bille a écrit :
> > >> Hi,
> > >>
> > >> Do you have problems with it?
> > >>
> > >>
> > >
> > > yes , the submit work half a time ....
> > > i will investigate it more
> >
> >
> > Ok find a workaround,
> > pb on mozilla, use a decorator
> > super.decorateScript("tinyMCE.triggerSave(true,
> > true);"+script+"tinyMCE.idCounter=0;");
> >
> > regards marc
> > Wicket rocks !
> > >> I tried it over a year ago, and as far as I remember there was
> > >> nothing to
> > >> it. That was Wicket 1.2.3 and tinymce from back then.
> > >>
> > >> Frank
> > >>
> > >> On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote:
> > >>
> > >>
> > >>> Hi,
> > >>> doe somebody manage to make tinymce work with an ajax submit button
> > >>> regards
> > >>> Marc
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>>
> > >>>
> > >>>
> > >>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]