Re: wicketstuff tinymce development
W dniu 2011-07-29 18:30, jbrookover pisze: Michal Letynski wrote: Ok i solved the problem. I used wrong version (1.4.17.3 - its buggy). I get exceptions: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at wicket.contrib.tinymce.settings.TinyMCESettings.lazyLoadTinyMCEResource(TinyMCESettings.java:971) at wicket.contrib.tinymce.TinyMceBehavior.renderHead(TinyMceBehavior.java:60) And looking and java docs ( TODO: This has not been extensively tested.) it still under development. For TinyMCE to work properly with AJAX, it must be loaded on the page prior to the Ajax call that generates the editor. This is a flaw with TinyMCE itself, not the wicket component. Up until version 1.4.17.2, you needed to render the TinyMCE javascript resource with the Page (or some other non-Ajax generated component) and then individual components can use TinyMCEBehavior on an Ajax rendered text area. This is described in the JavaDoc for lazyLoadTinyMCEResource(). lazyLoadTinyMCEResource() was my attempt to get around this requirement and load the javascript via Ajax. I suspect the problem is not with the technique but with the URL manipulation. Feel free to contribute a bug fix and/or ignore the lazyLoadTinyMCEResource() function. However, it should be considered beta and is completely optional. You can still use the old method. Hope that helps! I still recommend using 1.4.17.3 as it has an up-to-date version of TinyMCE and several other improvements. I used tinymce editor in previous company for two years and it worked with/without ajax just from scrath, without any magic. Recommended version 1.4.17.3 just not worked for me, so i used previous one. Thanks for support. Jake -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3704257.html Sent from the Users forum mailing list archive at Nabble.com. - 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
Re: wicketstuff tinymce development
Michal Letynski wrote: Ok i solved the problem. I used wrong version (1.4.17.3 - its buggy). I get exceptions: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at wicket.contrib.tinymce.settings.TinyMCESettings.lazyLoadTinyMCEResource(TinyMCESettings.java:971) at wicket.contrib.tinymce.TinyMceBehavior.renderHead(TinyMceBehavior.java:60) And looking and java docs ( TODO: This has not been extensively tested.) it still under development. For TinyMCE to work properly with AJAX, it must be loaded on the page prior to the Ajax call that generates the editor. This is a flaw with TinyMCE itself, not the wicket component. Up until version 1.4.17.2, you needed to render the TinyMCE javascript resource with the Page (or some other non-Ajax generated component) and then individual components can use TinyMCEBehavior on an Ajax rendered text area. This is described in the JavaDoc for lazyLoadTinyMCEResource(). lazyLoadTinyMCEResource() was my attempt to get around this requirement and load the javascript via Ajax. I suspect the problem is not with the technique but with the URL manipulation. Feel free to contribute a bug fix and/or ignore the lazyLoadTinyMCEResource() function. However, it should be considered beta and is completely optional. You can still use the old method. Hope that helps! I still recommend using 1.4.17.3 as it has an up-to-date version of TinyMCE and several other improvements. Jake -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3704257.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff tinymce development
According to: http://tinymce.moxiecode.com/tryit/multiple_configs.php Mode should be switched to textareas our current implementation provide exact only. Why would you want to use textareas matching when using TinyMce in Wicket? Attach a TinyMceBehavior to each Wicket component that needs a TinyMce editor. That's it. Using textarea mode makes no sense in a Wicket integration as it doesn't integrate anything. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff tinymce development
W dniu 2011-07-28 12:08, Pointbreak pisze: According to: http://tinymce.moxiecode.com/tryit/multiple_configs.php Mode should be switched to textareas our current implementation provide exact only. Why would you want to use textareas matching when using TinyMce in Wicket? Attach a TinyMceBehavior to each Wicket component that needs a TinyMce editor. That's it. Using textarea mode makes no sense in a Wicket integration as it doesn't integrate anything. Ok i solved the problem. I used wrong version (1.4.17.3 - its buggy). I get exceptions: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at wicket.contrib.tinymce.settings.TinyMCESettings.lazyLoadTinyMCEResource(TinyMCESettings.java:971) at wicket.contrib.tinymce.TinyMceBehavior.renderHead(TinyMceBehavior.java:60) And looking and java docs ( TODO: This has not been extensively tested.) it still under development. - 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
wicketstuff tinymce development
Hi. Is here anyone who is currently doing something with tinymce wicketstuff project ? I saw that in current version we are not able to add more then one instance of tiny in one page. I want to change it. I saw that wicket-stuff was moved to git, accounts from svn was copied or should i ask for new one ? Regards, Michal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff tinymce development
New account is needed. On Wed, Jul 27, 2011 at 12:57 PM, Michal Letynski m...@consol.ae wrote: Hi. Is here anyone who is currently doing something with tinymce wicketstuff project ? I saw that in current version we are not able to add more then one instance of tiny in one page. I want to change it. I saw that wicket-stuff was moved to git, accounts from svn was copied or should i ask for new one ? Regards, Michal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff tinymce development
Hi, Post a message on the dev list with your github username requesting commit access and you can be added. If you want to get started right away you can fork the wicketstuff/core project on github, make changes to your fork and then submit a pull request to get your changes incorporated back into the main project. Regards, Mike New account is needed. On Wed, Jul 27, 2011 at 12:57 PM, Michal Letynskim...@consol.ae wrote: Hi. Is here anyone who is currently doing something with tinymce wicketstuff project ? I saw that in current version we are not able to add more then one instance of tiny in one page. I want to change it. I saw that wicket-stuff was moved to git, accounts from svn was copied or should i ask for new one ? Regards, Michal - 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
Re: wicketstuff tinymce development
Michal Letynski wrote: Is here anyone who is currently doing something with tinymce wicketstuff project ? I saw that in current version we are not able to add more then one instance of tiny in one page. I've recently made some commits to the tinymce wicketstuff package on GitHub, if you want to call that currently doing something. :) You are certainly able to add more than one instance on a page. We use this package heavily throughout our applications and it works well, including Ajax, spellcheck, and multiple configuration settings. Jake -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3698489.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff tinymce development
I would like to point out that tinymce in wicketstuff 1.5 branch needs some love too. It is not yet ported to wicket 1.5. Attila 2011/7/27 jbrookover jbrooko...@cast.org Michal Letynski wrote: Is here anyone who is currently doing something with tinymce wicketstuff project ? I saw that in current version we are not able to add more then one instance of tiny in one page. I've recently made some commits to the tinymce wicketstuff package on GitHub, if you want to call that currently doing something. :) You are certainly able to add more than one instance on a page. We use this package heavily throughout our applications and it works well, including Ajax, spellcheck, and multiple configuration settings. Jake -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3698489.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff tinymce development
W dniu 2011-07-27 17:27, jbrookover pisze: Michal Letynski wrote: Is here anyone who is currently doing something with tinymce wicketstuff project ? I saw that in current version we are not able to add more then one instance of tiny in one page. I've recently made some commits to the tinymce wicketstuff package on GitHub, if you want to call that currently doing something. :) You are certainly able to add more than one instance on a page. We use this package heavily throughout our applications and it works well, including Ajax, spellcheck, and multiple configuration settings. You can do this with current implementation ? Or you did some changes ? According to: http://tinymce.moxiecode.com/tryit/multiple_configs.php Mode should be switched to textareas our current implementation provide exact only. Jake -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3698489.html Sent from the Users forum mailing list archive at Nabble.com. - 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