Re: Big Problem with TinyMCE

2010-05-03 Thread Robert Kimotho
On your AjaxButton add TinyMceAjaxSubmitModifier. Kimotho. On Fri, Apr 30, 2010 at 12:53 AM, Brad Grier brad.gr...@salusnovus.comwrote: 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

Re: Big Problem with TinyMCE

2010-05-03 Thread Fernando Wermus
I run into the same problem. I cant see the text written in text area. Could show the code you have written? thanks in advance On Mon, May 3, 2010 at 4:04 AM, Robert Kimotho kimot...@gmail.com wrote: On your AjaxButton add TinyMceAjaxSubmitModifier. Kimotho. On Fri, Apr 30, 2010 at 12:53

Re: Big Problem with TinyMCE

2010-05-03 Thread nicolas melendez
hey! do this: add to the page a hidden ajaxSubmitLink and se it an id, for example: submitToServer. In the onclick java method of the hidden ajaxSubmitLink do your java magic server-side. Then in your submit button of the html page, add a small javascript that save HTML and then clicks the

Re: Big Problem with TinyMCE

2010-05-03 Thread Fernando Wermus
Nicolas, Your proposal work. But I have my TinyMCE in a modal window and it has stopped to close. In the other case, I don't get any string in text area, but my modal window close. I need both. Any suggestion? thanks in advance On Mon, May 3, 2010 at 12:06 PM, nicolas melendez

Re: Big Problem with TinyMCE

2010-05-03 Thread Fernando Wermus
I've solved it with the following @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator(){ private static final long serialVersionUID = 4430011596296790970L; @Override public CharSequence decorateScript(CharSequence script) { return

Big Problem with TinyMCE

2010-04-29 Thread Brad Grier
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