Maybe my response to Martijn Lindhout's question regarding 'TinyMCE in
an Ajax loaded panel' can be of any use.

Sverre


-----Oorspronkelijk bericht-----
Van: Pointbreak [mailto:pointbreak+wicketst...@ml1.net] 
Verzonden: woensdag 17 december 2008 17:55
Aan: Wicket Users Mailing List
Onderwerp: Re: TinyMCE ajax load

This will happen if your tabbed panel removes the actual content (dom
elements) that contains the editor. I would suggest to let your tabbed
panel make its content invisible, not remove dom elements.
But if you don't want to change the panel, you can simply add the
component that has your tinymcebehavior to the target of the ajax
request when switching back to the original panel. This will
reinitialize your tinymce editor.

On Wed, 17 Dec 2008 19:46 +0330, "Omid Alamdar Milani"
<omil...@gmail.com> wrote:
> I'm trying to have an ajax tabbed panel where editor is in one of the
> tabs. When page is first showed, the editor tab is active and
> everything works fine, but when user changes tab and again returns to
> editor tab it doesn't load and plain text area is showed. So it isn't
> a problem with loading javascripts, they're already loaded.
> 
> On Wed, Dec 17, 2008 at 6:21 PM, Pointbreak
> <pointbreak+wicketst...@ml1.net> wrote:
> > If by "load with ajax" you mean that the javascript sources are
loaded
> > on ajax requests, instead of with the initial page, then no, that is
not
> > supported. The ajax parameter that was available in old 1.3
snapshots
> > did not work properly. It has been removed for some time now (also
in
> > latest 1.3-snapshots).
> > There is ajax support (e.g. an InPlaceEditComponent), but all
javascript
> > will be loaded normally.
> >
> > On Wed, 17 Dec 2008 17:57 +0330, "Omid Alamdar Milani"
> > <omil...@gmail.com> wrote:
> >> Hi,
> >> Is there a way to load tiny mce editor with ajax?
> >> 1.3 snapshot has an ajax parameter and works correctly on firefox
but
> >> doesn't work on IE. The latest 1.4 snapshot works fine with IE but
the
> >> ajax parameter is gone and I couldn't find a way to load it with
ajax.
> >>
> >>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 

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


No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.16/1842 - Release Date:
16-12-2008 18:11

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

Reply via email to