Re: TinyMCE bug: http://readystate4.com/2009/05/15/tinymce-typeerror-twindocument-is-null-in-firebug-console/

2009-06-18 Thread Per Lundholm
Possible to use the close-callback of Modalwindow?

http://wicket.apache.org/docs/1.4/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.html#setCloseButtonCallback(org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.CloseButtonCallback)

/Per
On Fri, Jun 19, 2009 at 2:45 AM, Fernando
Wermus wrote:
> I am trying to run a TinyMCE in a ModalWindow. If the modalWindow is closed
> TinyMCE requires removes some instances through its api:
>
> tinyMCE.execCommand('mceRemoveControl', false, 'idTextArea');
> tinyMCE.execCommand('mceAddControl', false, 'idTextArea');
>
> But modalWindow close button didn't inform anything to its content. Thus I
> don't find a way to run this two sentences by tinyMCEBehavior.
>
> thanks
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



TinyMCE bug: http://readystate4.com/2009/05/15/tinymce-typeerror-twindocument-is-null-in-firebug-console/

2009-06-18 Thread Fernando Wermus
I am trying to run a TinyMCE in a ModalWindow. If the modalWindow is closed
TinyMCE requires removes some instances through its api:

tinyMCE.execCommand('mceRemoveControl', false, 'idTextArea');
tinyMCE.execCommand('mceAddControl', false, 'idTextArea');

But modalWindow close button didn't inform anything to its content. Thus I
don't find a way to run this two sentences by tinyMCEBehavior.

thanks

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus