hi all,
i just want to let you know that tinymce works with ajax and i've committed
all changes into svn trunk. i've updated the example as well. please take a
look and let me know if it works for you.
there is still a sync issue, and sometimes tinymce editor is not loaded
using ajax because there is a CSS that is not initialized.
anyway take a look and let me know how it goes at your end.
/iulian
On 4/25/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
tinymce panel is not ajax-able, i have replaced a panel by ajax that
contains tinyMCE and it did not render
On 4/25/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
>
> the behavior works, i like it a lot better then a panel. to me:
>
> TextField tf=new TextField(..);
> tf.add(new TinyMceEnabler().setAllowLinking(false));
>
> seems a lot more natural then adding a panel, etc. and yes, in my
> project we store tinymce in a static dir so all of its scripts/modules are
> served by apache instead of wicket.
>
> that said, i havent ever tried to use it in an ajax response, so i
> wouldnt know if it works or not. is that what is used here?
>
> maybe if it does choke because of that we can create a loader script for
> it or something like that.
>
> -igor
>
>
> On 4/25/07, Iulian Costan < [EMAIL PROTECTED]> wrote:
> >
> > this question is mostly for Igor and his rtebehavior and
> > tinymceenabler examples.
> > does tinymceenabler really works for you? if it does please tell me
> > what wicket/tinymce versions are you using. in your case i also saw that
> > tinymce scripts are loaded from a static context, /html/static/js/...
> > something. they are not packed within the web application.
> >
> > becasue of the way tinymce library initialize itself, it relies on src
> > attribute of script tag that imports 'tiny_mce_src.js' file.
> > but if you add a javascript url in ajax response then the script is
> > prefetched and it is embedded into the page, in the same time the 'src'
> > attribute is renamed to 'src_' and also the other attributes are
> > removed/cleaned up.
> >
> > i didnt follow wicket development for a while and i might miss
> > something but i dont see how tinymce can initialize in this case if there is
> > no src attribute to rely on. something magic in between. :)
> >
> > /iulian
> >
> > On 4/18/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > >
> > > ok you are all set
> > >
> > >
> > > -igor
> > >
> > >
> > > On 4/18/07, Iulian Costan < [EMAIL PROTECTED]> wrote:
> > > >
> > > > done, username: syca
> > > >
> > > > /iulian
> > > >
> > > > On 4/17/07, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
> > > >
> > > > > lulian could you please sign up for wicketstuff.org/jira so i
> > > > > can set you as the lead for wicket contrib tinymce
> > > > >
> > > > > thanks
> > > > >
> > > > > -igor
> > > > >
> > > > >
> > > > > On 4/11/07, Iulian Costan <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > hi,
> > > > > >
> > > > > > there is an already known issue related to this; tinymce's
> > > > > > JS/CSS imports are lost if there is any AJAX request involved. it
is on my
> > > > > > TODO list but unfortunately i couldnt put my hands on it. i'll try
to do it
> > > > > > this weekend.
> > > > > >
> > > > > > /iulian
> > > > > >
> > > > > > On 4/11/07, Brian Topping < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Hi all,
> > > > > > >
> > > > > > > I've been trying to get TinyMCE to display on a panel and
> > > > > > > haven't
> > > > > > > been having much luck. I've seen it work if it's not on a
> > > > > > > panel, but
> > > > > > > my guess is when the panel is loaded and the contents of the
> > > > > > > panel
> > > > > > > are patched up in the DOM, the patches that TinyMCE made are
> > > > > > > lost.
> > > > > > >
> > > > > > > I talked to Igor about this one night on IRC and he
> > > > > > > suggested using a
> > > > > > > behavior, overriding
> > > > > > > iHeaderResponse.renderOnDomReadyJavascript() to
> > > > > > > call tinyMCE.init. That all seems like it should work, but
> > > > > > > alas, it
> > > > > > > does not.
> > > > > > >
> > > > > > > If it weren't for plugging at this off and on for two weeks,
> > > > > > > I'd keep
> > > > > > > chugging, but I'm afraid I don't know enough to debug this.
> > > > > > >
> > > > > > > So if you choose to accept it, the mission is to download
> > > > > > > http://
> > > > > > > tetsuko.autoscraper.com/files/testTCE.tgz and see if
> > > > > > > anything looks
> > > > > > > out of place. It's a large file only because it's got
> > > > > > > TinyMCE
> > > > > > > preloaded... there's only about 140 lines of code there.
> > > > > > >
> > > > > > > Any thoughts, information, RTFM, etc are gratefully
> > > > > > > accepted. Thanks!
> > > > > > >
> > > > > > > Brian
> > > > > > >
> > > > > > >
-------------------------------------------------------------------------
> > > > > > >
> > > > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > > > Join SourceForge.net's Techsay panel and you'll get the
> > > > > > > chance to share your
> > > > > > > opinions on IT & business topics through brief surveys-and
> > > > > > > earn cash
> > > > > > >
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > Wicket-user mailing list
> > > > > > > [email protected]
> > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
-------------------------------------------------------------------------
> > > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > > Join SourceForge.net's Techsay panel and you'll get the chance
> > > > > > to share your
> > > > > > opinions on IT & business topics through brief surveys-and
> > > > > > earn cash
> > > > > >
> > > > > >
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > _______________________________________________
> > > > > > Wicket-user mailing list
> > > > > > [email protected]
> > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
-------------------------------------------------------------------------
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and
> > > > > take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > _______________________________________________
> > > > > Wicket-user mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > > >
> > > >
> > > >
> > > >
-------------------------------------------------------------------------
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user