TinyMCE Behavior rather than TinyMCE Panel
Hi, I sometimes saw a TinyMCE code that uses AbstractBehavior to integrate TinyMCE rather than TinyMCEPanel from the one available in wicket stuffs. Please does anyone know where I can find this build thanks
Re: TinyMCE Behavior rather than TinyMCE Panel
Hi, AFAIK the only Release for Wicket 1.3 is available through the Wicketstuff Subversion Repository. The last Release I tried from sourceforge.net was outdated, because it was targeted for Wicket 1.2 The Module needed is wicket-contrib-tinymce and I suggest wicket-contrib-tinymce-examples. And you have to build them on your own. Hope this helps. Regards, Timm Am Dienstag, 6. Mai 2008 23:40:21 schrieb Ayodeji Aladejebi: > Hi, > > I sometimes saw a TinyMCE code that uses AbstractBehavior to integrate > TinyMCE rather than TinyMCEPanel from the one available in wicket stuffs. > > Please does anyone know where I can find this build > > > thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TinyMCE Behavior rather than TinyMCE Panel
yeah yeah, thanks now i recall i checke it out from wicket-stuff repo. On 5/7/08, Timm Helbig <[EMAIL PROTECTED]> wrote: > > Hi, > > AFAIK the only Release for Wicket 1.3 is available through the Wicketstuff > Subversion Repository. The last Release I tried from sourceforge.net was > outdated, because it was targeted for Wicket 1.2 > > The Module needed is wicket-contrib-tinymce and I suggest > wicket-contrib-tinymce-examples. And you have to build them on your own. > > Hope this helps. > > Regards, > Timm > > > Am Dienstag, 6. Mai 2008 23:40:21 schrieb Ayodeji Aladejebi: > > > Hi, > > > > I sometimes saw a TinyMCE code that uses AbstractBehavior to integrate > > TinyMCE rather than TinyMCEPanel from the one available in wicket > stuffs. > > > > Please does anyone know where I can find this build > > > > > > thanks > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
tinymce ajaxbutton
My form has tinymce text area so I added TinyMceAjaxButton , now due to new requirements sometimes I have to hide tinymce textarea , anytime I hide tinymce text area the TinyMceAjaxButton submit button does not work , Is there a way I can use the TinyMceAjaxButton without tinynmce textarea ?
TinyMCE & Spellcheck
I've added TinyMCE to my application, but I can't get the spellchecker to work. When I click the button, I get a JavaScript alert that says, "Please specify: spellchecker_rpc_url". I checked it out in the example application, but I get the same error there. I've installed the Jazzy spell checker, but apparently I need something else as well. Has anyone gotten this to work?
tinymce settings
Hello to you all Im trying to use the tinymce behavior to get a nice editor. On one page I want a read-only tinymce, but how do I configure its settings? Is this anywhere near? TinyMCESettings mceSettings = new TinyMCESettings(Theme.simple); mceSettings.addCustomSetting("readonly:true"); mceSettings.addCustomSetting("theme_advanced_resizing : true"); add(new TextArea("message", new PropertyModel(obj, "body")).add(new TinyMceBehavior(mceSettings))); //Swanthe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
tinymce textarea
I am trying to make my text editor (text area ) to rich text eitors using timymce.First I tried wicket timymce behaviour , the problem is the tinymce java scriopt is repalce my textarea html with an iframe this is my html , but the style="display: none;" is added by tinymce and code generated by tinymce is lot, but the problem is it uses iframe and because of which the textarea value is not posted to my form , please help me integrating tinymce - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Replicating tinyMCE
Hi, I tried to add tinyMCE to my application, which seems easy enough using the wicketstuff project. The point where I got stuck (for some hours now) is where I start adding the component carrying the TinyMceBehavior to any Ajax-Targets. What I'm trying to do is to populate the textarea based on selections from several DropDownChoices. But whenever an onChange-Event is called that adds the textarea to it's target, another editor appears right above the existing one containing the new content while the other editor gets moved down, still displaying the old values. Unfortunately I can't figure out what I'm doing wrong here... Any ideas would be greatly appreciated thanks David - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket - TinyMCE
Hi to everyone, I am looking for rich text editor and I found TinyMCE. But I couldnt find any document/example page how can I integrate wicket and TinyMCE explained detailed. Do you know is there any documentation or example about this subject? Thanks, br. Ramazan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: TinyMCE.
It seems that your application is missing the jar TinyMCE integration. You can find it at http://mvnrepository.com/artifact/org.wicketstuff/wicketstuff-tinymce/6.5.0 HI. when i execute my page with a textArea(with TinyMCE).java.lang.NoClassDefFoundError: wicket/contrib/tinymce/TinyMceBehavior Thanls - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: TinyMCE.
I use wicket 1.4.19. org.wicketstuff tinymce 1.4.19 also gives me the same error with visural wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-tp4656649p4656682.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: TinyMCE.
Do you get the error running your project from Maven? I've built a quickstart project with Wicket 1.4.19 and TinyMCE but it works fine. I use wicket 1.4.19. org.wicketstuff tinymce 1.4.19 also gives me the same error with visural wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-tp4656649p4656682.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: TinyMCE.
The code should be contentTextArea.add(new TinyMceBehavior(new TinyMCESettings(TinyMCESettings.Theme.advanced))); If you still get an error can you show your pom.xml file? Yes, fails to execute. code: TextArea contentTextArea = new TextArea("content"); contentTextArea.add(new TinyMceBehavior(new TinyMCESettings(Theme.advanced))); form.add(contentTextArea); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-tp4656649p4656722.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
tinymce texteditor size
I am using wicketstuff tinymce text editor , I want to control the width and height of texteditor based on the size of browser , please tell me how to do this ?
TinyMCE resources directory
This is probably a basic question and it may not even be wicket related but I was hoping for a tip. I am using wicket under tomcat. I am -not- using Maven for building it so no quickstart exists. Here is what happens, in my dev environment (Eclipse) tinymce works fine. I import the Jar as a library and everything is happy. When I add the TinyMCE behavior to my TextArea it writes the resource link into the page and accesses it fine from WEB-INF/classes/wicket/contrib/tinymce/tiny_mce/tiny_mce.js When I deploy to tomcat though the files are not located and the tinymce behavior fails. It feels like a classpath issue but I am unsure how to proceed fixing. This is 100% my ignorance so I appreciate any sympathetic souls that can point me in the right direction. And yes, I am reading the maven book for future projects so I can get with the WicketWay but this project was my first experimental wicket project and is to far along to convert so I am where I am with it :( Tx John- - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: TinyMCE & Spellcheck
I've made a little progress toward getting the spell checker working. In my TinyMCESettings I've added: tinyMCESettings.addCustomSetting("spellchecker_rpc_url : \"someURL\""); That takes care of the alert, but now I need to know what URL I'm supposed to put there. The SpellCheckPlugin class has the following code: private static final String resourceKey = "tiny_mce/plugins/spellchecker/tinyspell.php"; ... Application.get().getSharedResources().add(TinyMceBehavior.class, resourceKey, null, null, new JazzySpellChecker()); So my guess is that I need to have spellchecker_rpc_url hit the URL of the SharedResource added above. When I debug the app, the line WicketApplication.get().getSharedResources().get(TinyMceBehavior.class, "tiny_mce/plugins/spellchecker/tinyspell.php", null, null, true) does return the JazzySpellChecker, so I hoped that the following crazy line would get me the URL: WicketRequestCycle.get().urlFor(new ResourceStreamRequestTarget(WicketApplication.get().getSharedResources().get(TinyMceBehavior.class, "tiny_mce/plugins/spellchecker/tinyspell.php", null, null, true).getResourceStream())) However, that just gives me null. I feel like I must be making this more difficult than it should be. Nothing I've seen anywhere mentions setting the spellchecker_rpc_url. Is there an easier way to do this? thanks, Dane On Thu, Oct 8, 2009 at 6:24 PM, Dane Laverty wrote: > I've added TinyMCE to my application, but I can't get the spellchecker to > work. When I click the button, I get a JavaScript alert that says, "Please > specify: spellchecker_rpc_url". I checked it out in the example application, > but I get the same error there. I've installed the Jazzy spell checker, but > apparently I need something else as well. Has anyone gotten this to work? >
tinymce ajax submit
Hi, doe somebody manage to make tinymce work with an ajax submit button regards Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Controlling tinyMCE component
The tinyMCE component has two themes - simple and advanced. When in simple - there is only one toolbar, when in advanced - three. 1. How can I remove toolbars? I could not find such an API. 2. How do I remove separators so that I can rearrange freely the buttons? Kind regards: al_shopov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TinyMCE settings problems
i am trying to integrate TinyMCE an wicket my code is as follows: for HTML : rich text For Java Class: TextArea textArea = new TextArea("richTextInput", new Model()); textArea.add(new TinyMceBehavior()); add(textArea); And i am using wicket-contrib-tinymce-1.3-SNAPSHOT.jar and wicket 1.3.0.jar. and it is giving me this error message when it trys 2 display page. java.lang.NoClassDefFoundError: org/apache/commons/collections/set/ListOrderedSet wicket.contrib.tinymce.settings.TinyMCESettings.(TinyMCESettings.java:97) wicket.contrib.tinymce.settings.TinyMCESettings.(TinyMCESettings.java:91) wicket.contrib.tinymce.settings.TinyMCESettings.(TinyMCESettings.java:87) wicket.contrib.tinymce.TinyMceBehavior.(TinyMceBehavior.java:42) Can Someone help out . Thanks. -- View this message in context: http://www.nabble.com/TinyMCE-settings-problems-tp20686184p20686184.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TinyMCE ajax load
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
Re: tinymce settings
Ok, so things like mceSettings.addCustomSetting("skin : \"o2k7\"") work, but the readonly setting is in a newer version (3.1.1) when wicket tinymce is only 3.1.0. //Swanthe Hello to you all Im trying to use the tinymce behavior to get a nice editor. On one page I want a read-only tinymce, but how do I configure its settings? Is this anywhere near? TinyMCESettings mceSettings = new TinyMCESettings(Theme.simple); mceSettings.addCustomSetting("readonly:true"); mceSettings.addCustomSetting("theme_advanced_resizing : true"); add(new TextArea("message", new PropertyModel(obj, "body")).add(new TinyMceBehavior(mceSettings))); //Swanthe - 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
Error building TinyMce
I am trying to build TinyMCE and I get the following error - Has anyone seen this error before? D:\mystuff\ibtools\apache-wicket-1.3.5\tinymce-parent\tinymce>mvn install [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown:tinymce Reason: Parent: null:tinymce-parent:jar:null of project: unknown:tinymce has wro ng packaging: jar. Must be 'pom'. for project unknown:tinymce [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Parent: null:tinymce-parent:ja r:null of project: unknown:tinymce has wrong packaging: jar. Must be 'pom'. for project unknown:tinymce at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) -- View this message in context: http://www.nabble.com/Error-building-TinyMce-tp21941674p21941674.html Sent from the Wicket - User 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: tinymce textarea
I think TinyMCE always uses an iframe - because it loads an editable document in it. I don't think that's your problem. Show us all of the relevant code (your java and html code). -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 20, 2009 at 9:50 AM, tubin gen wrote: > I am trying to make my text editor (text area ) to rich text eitors > using timymce.First I tried wicket timymce behaviour , the problem > is the tinymce java scriopt is repalce my textarea html with an > iframe > > > this is my html , but the style="display: none;" is added by tinymce > name="reassignmentComments" wicket:id="reassignmentComments" > id="reassignmentComments" style="display: none;"/> > > and code generated by tinymce is lot, but the problem is it uses > iframe and because of which the textarea value is not posted to my > form , please help me integrating tinymce > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: tinymce textarea
Agreed with @Jeremy, I have used to TinyMCE myself to update a CLOB fields mapped to my Entity Object and its value get submitted like a charm, but i remember seen this problem in my project a while before, when the form was submitted using Ajax, since i didn't make too much research i just switch to normal SubmitLink and the problem was resolved. Jeremy Thomerson-5 wrote: > > I think TinyMCE always uses an iframe - because it loads an editable > document in it. I don't think that's your problem. Show us all of the > relevant code (your java and html code). > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Mon, Apr 20, 2009 at 9:50 AM, tubin gen wrote: > >> I am trying to make my text editor (text area ) to rich text eitors >> using timymce.First I tried wicket timymce behaviour , the problem >> is the tinymce java scriopt is repalce my textarea html with an >> iframe >> >> >> this is my html , but the style="display: none;" is added by tinymce >> > name="reassignmentComments" wicket:id="reassignmentComments" >> id="reassignmentComments" style="display: none;"/> >> >> and code generated by tinymce is lot, but the problem is it uses >> iframe and because of which the textarea value is not posted to my >> form , please help me integrating tinymce >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > -- View this message in context: http://www.nabble.com/tinymce-textarea-tp23138273p23138719.html Sent from the Wicket - User 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: tinymce textarea
here my code for textarea public class CustomTextArea extends TextArea { /** * */ private static final long serialVersionUID = 1L; public static final AttributeModifier rows=new AttributeModifier("rows",true, new Model("8")); public static final AttributeModifier cols=new AttributeModifier("cols",true, new Model("120")); public static final AttributeModifier maxlength=new AttributeModifier("maxlength",true, new Model("4000")); public CustomTextArea(String id) { super(id); add(rows); add(cols); add(maxlength); add(new AuditBehaviour.TextAreaBeahaviour()); } } code for AuditBehaviour.TextAreaBeahaviour() public static class TextAreaBeahaviour extends JQueryBehavior{ @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); response.renderJavascriptReference(TEXTAREA_MAX_LENGTH); response.renderJavascriptReference(TINY_MCE); response.renderJavascript(((AuditWicketApplication)Application.get()).getTextAreaMaxLengthScript(), null); response.renderJavascript(((AuditWicketApplication)Application.get()).getTinymceScript(), null); } } scripts for max length i am using jquery maxlength validation jQuery(document).ready(function($) { //Set maxlength of all the textarea (call plugin) $().maxlength(); }) for text area inyMCE.init({ mode : "textareas" }); and as the later guy suggested I am using ajaxlink to submit my form does ajaxlink has any issues with tinynmce ? and when form is posted the my model get updated with and not the actual text Jeremy Thomerson-5 wrote: > > I think TinyMCE always uses an iframe - because it loads an editable > document in it. I don't think that's your problem. Show us all of the > relevant code (your java and html code). > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Mon, Apr 20, 2009 at 9:50 AM, tubin gen wrote: > >> I am trying to make my text editor (text area ) to rich text eitors >> using timymce.First I tried wicket timymce behaviour , the problem >> is the tinymce java scriopt is repalce my textarea html with an >> iframe >> >> >> this is my html , but the style="display: none;" is added by tinymce >> > name="reassignmentComments" wicket:id="reassignmentComments" >> id="reassignmentComments" style="display: none;"/> >> >> and code generated by tinymce is lot, but the problem is it uses >> iframe and because of which the textarea value is not posted to my >> form , please help me integrating tinymce >> >> --------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > -- View this message in context: http://www.nabble.com/tinymce-textarea-tp23138273p23145724.html Sent from the Wicket - User 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: tinymce textarea
Try add TinyMceAjaxSubmitModifier to your submit button //Swanthe tubin gen wrote: I am trying to make my text editor (text area ) to rich text eitors using timymce.First I tried wicket timymce behaviour , the problem is the tinymce java scriopt is repalce my textarea html with an iframe this is my html , but the style="display: none;" is added by tinymce and code generated by tinymce is lot, but the problem is it uses iframe and because of which the textarea value is not posted to my form , please help me integrating tinymce - 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: tinymce textarea
It worked , that's good, need one more suggestion , Usually without tinymce we show comments to display inside a pre tag to retain the line breaks etc , but in case of tinymce what's the best way to display comments ? Linkan wrote: > > Try add TinyMceAjaxSubmitModifier to your submit button > > //Swanthe > > > tubin gen wrote: >> I am trying to make my text editor (text area ) to rich text eitors >> using timymce.First I tried wicket timymce behaviour , the problem >> is the tinymce java scriopt is repalce my textarea html with an >> iframe >> >> >> this is my html , but the style="display: none;" is added by tinymce >> > name="reassignmentComments" wicket:id="reassignmentComments" >> id="reassignmentComments" style="display: none;"/> >> >> and code generated by tinymce is lot, but the problem is it uses >> iframe and because of which the textarea value is not posted to my >> form , please help me integrating tinymce >> >> - >> 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 > > > -- View this message in context: http://www.nabble.com/tinymce-textarea-tp23138273p23157424.html Sent from the Wicket - User 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: tinymce textarea
What you get out and put in tinymce is html, so why not continue with pre tags? Or perhaps put it in a div tag with some style, like "border-left: 2px solid blue; padding-left: 5px;". //Swanthe fachhoch wrote: It worked , that's good, need one more suggestion , Usually without tinymce we show comments to display inside a pre tag to retain the line breaks etc , but in case of tinymce what's the best way to display comments ? Linkan wrote: Try add TinyMceAjaxSubmitModifier to your submit button //Swanthe tubin gen wrote: I am trying to make my text editor (text area ) to rich text eitors using timymce.First I tried wicket timymce behaviour , the problem is the tinymce java scriopt is repalce my textarea html with an iframe this is my html , but the style="display: none;" is added by tinymce and code generated by tinymce is lot, but the problem is it uses iframe and because of which the textarea value is not posted to my form , please help me integrating tinymce - 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
Re: tinymce textarea
Tinymce text is formatted with html and when I add text to label i see the text with html , please tell me how can I tell wicket that model also has html tags and browser should interpet them and not display ? If I set model of a label as html text I am expecting to seehtml parsed by browser and not the same html I set as model attached is the image , it shows the same text i sert as model and i am expecting browser to parse those html tags and not just display , please help me how to acheieve this ? \ Linkan wrote: > http://www.nabble.com/file/p23175527/textarea-read-only.png > > > What you get out and put in tinymce is html, so why not continue with > pre tags? Or perhaps put it in a div tag with some style, like > "border-left: 2px solid blue; padding-left: 5px;". > > //Swanthe > > fachhoch wrote: >> It worked , that's good, need one more suggestion , Usually without >> tinymce >> we show comments to display inside a pre tag to retain the line breaks >> etc , but in case of tinymce what's the best way to display comments >> ? >> >> >> Linkan wrote: >> >>> Try add TinyMceAjaxSubmitModifier to your submit button >>> >>> //Swanthe >>> >>> > > > >>> tubin gen wrote: >>> >>>> I am trying to make my text editor (text area ) to rich text eitors >>>> using timymce.First I tried wicket timymce behaviour , the problem >>>> is the tinymce java scriopt is repalce my textarea html with an >>>> iframe >>>> >>>> >>>> this is my html , but the style="display: none;" is added by tinymce >>>> >>> name="reassignmentComments" wicket:id="reassignmentComments" >>>> id="reassignmentComments" style="display: none;"/> >>>> >>>> and code generated by tinymce is lot, but the problem is it uses >>>> iframe and because of which the textarea value is not posted to my >>>> form , please help me integrating tinymce >>>> >>>> - >>>> 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 > > > -- View this message in context: http://www.nabble.com/tinymce-textarea-tp23138273p23175527.html Sent from the Wicket - User 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: tinymce textarea
I suggest that you display the text in a read only tinymce text area. TinyMCESettings mceSettings = new TinyMCESettings(Theme.advanced); mceSettings.addCustomSetting("readonly:true"); This only works if you update the tinymce javascripts as in http://www.nabble.com/Re%3A-making-tinymce-textarea-read-only-p23170821.html fachhoch wrote: Tinymce text is formatted with html and when I add text to label i see the text with html , please tell me how can I tell wicket that model also has html tags and browser should interpet them and not display ? If I set model of a label as html text I am expecting to seehtml parsed by browser and not the same html I set as model attached is the image , it shows the same text i sert as model and i am expecting browser to parse those html tags and not just display , please help me how to acheieve this ? \ Linkan wrote: http://www.nabble.com/file/p23175527/textarea-read-only.png What you get out and put in tinymce is html, so why not continue with pre tags? Or perhaps put it in a div tag with some style, like "border-left: 2px solid blue; padding-left: 5px;". //Swanthe fachhoch wrote: It worked , that's good, need one more suggestion , Usually without tinymce we show comments to display inside a pre tag to retain the line breaks etc , but in case of tinymce what's the best way to display comments ? Linkan wrote: Try add TinyMceAjaxSubmitModifier to your submit button //Swanthe tubin gen wrote: I am trying to make my text editor (text area ) to rich text eitors using timymce.First I tried wicket timymce behaviour , the problem is the tinymce java scriopt is repalce my textarea html with an iframe this is my html , but the style="display: none;" is added by tinymce and code generated by tinymce is lot, but the problem is it uses iframe and because of which the textarea value is not posted to my form , please help me integrating tinymce - 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
problems with tinymce
I am having lot of troubles with tinymce ,First please suggest me where to get working tinymce java script files so that I can build the working tinymce, I copied text from ms-word to tinymce and surprisingly nothing gets posted to server, second If I use tinymce in a modelwindow with a panel , the tinymce editor cannot get moue events like I cannot clik in tinymce to type text
TinyMCE + TextArea + Jackrabbit
Using wicketstuff tinymce 1.4.1 attached to a TextArea, it seems I cannot get it to stop escaping the resulting HTML: TextArea textArea = new TextArea("threadSubjectTextInput", new Model("")); textArea.setEscapeModelStrings(false); TinyMCESettings settings = new TinyMCESettings(); settings.setToolbarLocation(TinyMCESettings.Location.top); TinyMceBehavior behavior = new TinyMceBehavior(settings); textArea.add(behavior); Obtaining value: String article = getForm().get("threadSubjectTextInput").getDefaultModelObjectAsString(); Setting property on JCR node: articleNode.setProperty("articleText", article); Rendering the output from the Jackrabbit Node: articleItem.add(new Label("forumArticle", article.getArticleText()).setEscapeModelStrings(false)); Is there some other code which might escape the HTML? Med vennlig hilsen TOR IVER WILHELMSEN Senior systemutvikler Arrive AS T (+47) 48 16 06 18 E-post: toriv...@arrive.no http://www.arrive.no http://servicedesk.arrive.no
Re: Replicating tinyMCE
Hi, I tried to add tinyMCE to my application, which seems easy enough using the wicketstuff project. The point where I got stuck (for some hours now) is where I start adding the component carrying the TinyMceBehavior to any Ajax-Targets. What I'm trying to do is to populate the textarea based on selections from several DropDownChoices. But whenever an onChange-Event is called that adds the textarea to it's target, another editor appears right above the existing one containing the new content while the other editor gets moved down, still displaying the old values. Unfortunately I can't figure out what I'm doing wrong here... Any ideas would be greatly appreciated thanks David Nobody? It's not that strange (at least that's what I think). So it has to be done before. Anything that I didn't provide? David - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Replicating tinyMCE
David, Sounds like you're not removing the previous editor instance. You probably need to call a TinyMCE function to remove the previous instance before initializing the new one. TinyMCE simply hooks into the textarea, but the editor itself is separate from that textarea. So when you replace the textarea over ajax, the editor does not magically dissappear by itself. Bas - Original Message - From: "David Hendrix" To: Sent: Sunday, September 05, 2010 1:43 PM Subject: Re: Replicating tinyMCE Hi, I tried to add tinyMCE to my application, which seems easy enough using the wicketstuff project. The point where I got stuck (for some hours now) is where I start adding the component carrying the TinyMceBehavior to any Ajax-Targets. What I'm trying to do is to populate the textarea based on selections from several DropDownChoices. But whenever an onChange-Event is called that adds the textarea to it's target, another editor appears right above the existing one containing the new content while the other editor gets moved down, still displaying the old values. Unfortunately I can't figure out what I'm doing wrong here... Any ideas would be greatly appreciated thanks David Nobody? It's not that strange (at least that's what I think). So it has to be done before. Anything that I didn't provide? David - 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: Replicating tinyMCE
David, You can see an example (plus javascript code required to remove the editor in the page source) of removing TinyMCE on the following page: http://tinymce.moxiecode.com/examples/example_01.php Try prepending the necessary javascript code to the AJAX request to fix your problem. Bas - Original Message - From: "David Hendrix" To: Sent: Sunday, September 05, 2010 1:43 PM Subject: Re: Replicating tinyMCE Hi, I tried to add tinyMCE to my application, which seems easy enough using the wicketstuff project. The point where I got stuck (for some hours now) is where I start adding the component carrying the TinyMceBehavior to any Ajax-Targets. What I'm trying to do is to populate the textarea based on selections from several DropDownChoices. But whenever an onChange-Event is called that adds the textarea to it's target, another editor appears right above the existing one containing the new content while the other editor gets moved down, still displaying the old values. Unfortunately I can't figure out what I'm doing wrong here... Any ideas would be greatly appreciated thanks David Nobody? It's not that strange (at least that's what I think). So it has to be done before. Anything that I didn't provide? David - 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: Replicating tinyMCE
05.09.2010 13:49, Bas Gooren: Hi Bas, thanks a lot! This looks like the missing part. As soon as I got this working, I'll come back to you with the results (it's a weekend project so I didn't try this right now). David David, You can see an example (plus javascript code required to remove the editor in the page source) of removing TinyMCE on the following page: http://tinymce.moxiecode.com/examples/example_01.php Try prepending the necessary javascript code to the AJAX request to fix your problem. Bas - Original Message - From: "David Hendrix" To: Sent: Sunday, September 05, 2010 1:43 PM Subject: Re: Replicating tinyMCE Hi, I tried to add tinyMCE to my application, which seems easy enough using the wicketstuff project. The point where I got stuck (for some hours now) is where I start adding the component carrying the TinyMceBehavior to any Ajax-Targets. What I'm trying to do is to populate the textarea based on selections from several DropDownChoices. But whenever an onChange-Event is called that adds the textarea to it's target, another editor appears right above the existing one containing the new content while the other editor gets moved down, still displaying the old values. Unfortunately I can't figure out what I'm doing wrong here... Any ideas would be greatly appreciated thanks David Nobody? It's not that strange (at least that's what I think). So it has to be done before. Anything that I didn't provide? David - 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
TinyMCE in ModalWindow
I've implemented TinyMCE in my app and all is well with one exception. I can't get it to work in a ModalWindow (TinyMCE works the first time but subsequently opens in an blank, uneditable state). Someone suggested using the TinyMCE javascript functions "mceRemoveControl" and "mceAddControl" to work around this issue. If that's the answer, I can't get it to work (likely because I'm missing something). Has anyone found a workaround to this problem?
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: Wicket - TinyMCE
Hi. W dniu 2011-08-02 04:29, ramazan pekin pisze: Hi to everyone, I am looking for rich text editor and I found TinyMCE. But I couldnt find any document/example page how can I integrate wicket and TinyMCE explained detailed. Do you know is there any documentation or example about this subject? There are some examples for it: https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce-parent/tinymce-examples Thanks, br. Ramazan - 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 1.5
Hello, I'm migrating from wicket 1.4.18 to wicket 1.5.0, but I need wicketstuff/tinymce dependency, and I think it is not migrated to 1.5 yet; is there some prevision to do it?, or where can I find it?. My dependency: org.wicketstuff tinymce 1.4.18 Thank you, Matteo Sotil
TinyMCE ImageUploadPlugin problem
Hi, I have a form with a textarea TinyMceBehavior attached. I would like to provide users to upload and include images in their articles. I did the following method: ImageUploadPanel imageUploadPanel = new ImageUploadPanel("uploadPanel"); TinyMCeAdvancedSettings settings = new TinyMCeAdvancedSettings(); ImageUploadPlugin plugin = new ImageUploadPlugin(imageUploadPanel.getImageUploadBehavior()); settings.add(plugin.getImageUploadButton(), TinyMCESettings.Toolbar.first,TinyMCESettings.Position.after); add(imageUploadPanel); article.add(new TinyMceBehavior(settings)); The result is that upload button's icon is missing but the upload function works. I can upload files but have two problems. First is I'm not able to control where to put uploaded files (Not even know where are they now. I suppose somewhere tmp dir). The second one is that after upload img inserted in the article the following way: If anyone could point to what I'm wrong I really would appreciate that! thnx, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616.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
wicket-contrib-tinymce
Is there a version of wicket-contrib-tinymce floating around somewhere that is compatible with Wicket 1.3.1? Thanks, Zach - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Customize TinyMCE init settings
I'm using the wicket-contrib-tinymce package and need to configure some of the settings that go into the init JavaScript: tinyMCE.init({ //settings from TinyMCESettings.toJavaScript are put here }); Specifically I need to set the content_css setting to get the same styles in the editor as on the rest of the site. Is there any way to customize what goes into that tinyMCE.init call? I can't see any way other than to hack TinyMCESettings to pieces. Maybe a public void addInitSetting(String) method would be a good addition to TinyMCESettings? There are tons of configuration options (http://wiki.moxiecode.com/index.php/TinyMCE:Configuration) and it would be nice to be able to easily set any of them. Thanks, Zach - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
making tinyMce TextArea readonly
I ma trying to make TextArea with TinyMce behaviour readonly , I added the following custom settings but it did not work tinyMCESettings.addCustomSetting("readonly : true"); tinyMCESettings.addCustomSetting("mode : textareas"); please suggest me how to make it readonly ?
add additional tinymce settinngs
I want to add addfitional setting to tinymce init by default TinyMCESettings adds the follwoing tinyMCE.init({ mode : "exact", elements : "recommendation24c", language : "en", theme : "simple" }); please tell me how to add the additional setting ? tinyMCE.init({ mode : "exact", elements : "d_vsebina,d_cilji", width : "100%", content_css: "arial.css", valid_elements : "p,ul[type],ol[type],li,b,i,u", paste_auto_cleanup_on_paste : true, paste_convert_headers_to_strong : false, paste_strip_class_attributes : "all" });
TinyMCE components in WicketStuff
Just curious, is the TinyMCE wicketstuff project abandoned, or are there plans to update it? It's using a version of TinyMCE from 2008. If we updated it, is there someone that we should send patches to? Boris - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
TinyMCE Editor with AJAX
I use a textarea on my page, and it works well with ajax to get the value of textarea. please see my code: textareaComp.add(new AjaxFormComponentUpdatingBehavior("onchange"){ protected void onUpdate(AjaxRequestTarget target) { . } } ); But when I use TinyMCE instead of textarea, the above code doesn't workAny hint? Thanks in advance. -- View this message in context: http://www.nabble.com/TinyMCE-Editor-with-AJAX-tf4430222.html#a12638380 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tinymce ajax submit
Hi, Do you have problems with it? I tried it over a year ago, and as far as I remember there was nothing to it. That was Wicket 1.2.3 and tinymce from back then. Frank On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote: > Hi, > doe somebody manage to make tinymce work with an ajax submit button > regards > Marc > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: tinymce ajax submit
Frank Bille a écrit : Hi, Do you have problems with it? yes , the submit work half a time i will investigate it more I tried it over a year ago, and as far as I remember there was nothing to it. That was Wicket 1.2.3 and tinymce from back then. Frank On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote: Hi, doe somebody manage to make tinymce work with an ajax submit button regards Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tinymce ajax submit
godin a écrit : Frank Bille a écrit : Hi, Do you have problems with it? yes , the submit work half a time i will investigate it more Ok find a workaround, pb on mozilla, use a decorator super.decorateScript("tinyMCE.triggerSave(true, true);"+script+"tinyMCE.idCounter=0;"); regards marc Wicket rocks ! I tried it over a year ago, and as far as I remember there was nothing to it. That was Wicket 1.2.3 and tinymce from back then. Frank On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote: Hi, doe somebody manage to make tinymce work with an ajax submit button regards Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[wicket-contrib] TinyMCE Hackery
I've done some work on the TinyMCE project to get it to compile, since it currently does not do so straight out of subversion. Two questions: is it okay for me to commit the changes, and would it be possible to push this to the wicketstuff Maven repo? (If it is not, I have a publically accessible repo that I can push it to, for others to use.) Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tinymce ajax submit
For a project I also needed a AjaxSubmitLink to submit the tinyMce data, so i've searched for a solution and found it at http://dwairi.blogspot.com/2006/12/tinymce-ajax.html The solution is to add "tinyMCE.triggerSave(true,true);" to the onclick of the ajax button/link before the wicket code is called. I made a nice Wicket AttributeModifier (TinyMceAjaxSubmitModifier) which can be added to the ajax button/link and I also made a TinyMceAjaxButton and TinyMceAjaxSubmitLink for easier use. These component are added to the wicket-contrib-tinymce project. 2008/2/19 Igor Vaynberg <[EMAIL PROTECTED]> > tinymce replaces the textarea with an iframe. after that it installs > an onsubmit hook to detect when the form is submitted and does the > opposite. since you are submitting via ajax form's onsubmit() is never > called and so tinymce doesnt replace the iframe with a textarea piror > tp submit. you need to look at what that callback calls and call it > yourself > > -igor > > On Feb 19, 2008 2:55 AM, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > > Hi Marc, > > > > I have the same problem. When i am submitting a textarea with a > > TinyMCEBehavior the model of the textarea does not get updated. > > I am interested in your solution, but I do not understand it. > > > > It would be nice if you (or anyone else) could explain it for me. > > > > Thanks in advance, > > Benjamin > > > > 2007/11/19, godin <[EMAIL PROTECTED]>: > > > > > > > > godin a écrit : > > > > Frank Bille a écrit : > > > >> Hi, > > > >> > > > >> Do you have problems with it? > > > >> > > > >> > > > > > > > > yes , the submit work half a time > > > > i will investigate it more > > > > > > > > > Ok find a workaround, > > > pb on mozilla, use a decorator > > > super.decorateScript("tinyMCE.triggerSave(true, > > > true);"+script+"tinyMCE.idCounter=0;"); > > > > > > regards marc > > > Wicket rocks ! > > > >> I tried it over a year ago, and as far as I remember there was > > > >> nothing to > > > >> it. That was Wicket 1.2.3 and tinymce from back then. > > > >> > > > >> Frank > > > >> > > > >> On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote: > > > >> > > > >> > > > >>> Hi, > > > >>> doe somebody manage to make tinymce work with an ajax submit button > > > >>> regards > > > >>> Marc > > > >>> > > > >>> > - > > > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >>> For additional commands, e-mail: [EMAIL PROTECTED] > > > >>> > > > >>> > > > >>> > > > >> > > > >> > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Links Issue with TinyMce
Hi All, We are using TinyMce to post Rich Text onto a website with the possibility of providing hyper links. We are having issues posting links into the Text Area, example issue below: When I paste something like http://localhost:8080/doc?id=093102ce8004ffee&ll=f into the Text area, I see the following as the link URL if I highlight the text and click on the "link" button. doc?id=093102ce8004ffee&ll=f The posted text appears on the page http://localhost:8080/mypage when we submit from the TinyMce panel. If I hover on the link on the posted text, I see the hyper link as http://localhost:8080/mypage/doc?id=093102ce8004ffee&ll=f which is not right. To correct this, we are having the users edit the hyperlink manually by changing it to either /doc?id=093102ce8004ffee&ll=f Or http://localhost:8080/doc?id=093102ce8004ffee&ll=f Has anybody come across this issue? Is it possible to eliminate the manual step of adjusting the Link URL value? Thanks, Raj -- View this message in context: http://www.nabble.com/Links-Issue-with-TinyMce-tp19148029p19148029.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
wicket-contrib-tinymce problem
Hi If I try to add the TinyMCEPanel to my page it doesn't appear. If I try to add parameters, and some extra marups, it throws the following exception: WicketMessage: Markup of type 'html' for component 'com.myapp.wicket.ContentEditor' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried: [Page class = com.myapp.wicket.ContentEditor, id = 3, version = 0] html: tinyMCE test texarea2 test texarea java: public ContentEditor() { setModel(new CompoundPropertyModel(this)); TinyMCESettings settings=new TinyMCESettings(TinyMCESettings.Theme.advanced); add(new TinyMCEPanel("tinyMCE", settings)); add(new TextArea("ta", new Model(TEXT))); } Any tips? Thanks: Bence -- View this message in context: http://www.nabble.com/wicket-contrib-tinymce-problem-tp19221008p19221008.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tinymce ajax submit
Has that code been posted for wicketstuff-1.3? I am using the old wicket-contrib-tinymce-1.3-SNAPSHOT.jar. Where would I find an updated snapshot? Thanks, Josh sander v F wrote: > > For a project I also needed a AjaxSubmitLink to submit the tinyMce data, > so > i've searched for a solution and found it at > http://dwairi.blogspot.com/2006/12/tinymce-ajax.html > The solution is to add "tinyMCE.triggerSave(true,true);" to the onclick of > the ajax button/link before the wicket code is called. > > I made a nice Wicket AttributeModifier (TinyMceAjaxSubmitModifier) which > can > be added to the ajax button/link and I also made a TinyMceAjaxButton and > TinyMceAjaxSubmitLink for easier use. > > These component are added to the wicket-contrib-tinymce project. > > > > 2008/2/19 Igor Vaynberg <[EMAIL PROTECTED]> > >> tinymce replaces the textarea with an iframe. after that it installs >> an onsubmit hook to detect when the form is submitted and does the >> opposite. since you are submitting via ajax form's onsubmit() is never >> called and so tinymce doesnt replace the iframe with a textarea piror >> tp submit. you need to look at what that callback calls and call it >> yourself >> >> -igor >> >> On Feb 19, 2008 2:55 AM, Benjamin Ernst <[EMAIL PROTECTED]> wrote: >> > Hi Marc, >> > >> > I have the same problem. When i am submitting a textarea with a >> > TinyMCEBehavior the model of the textarea does not get updated. >> > I am interested in your solution, but I do not understand it. >> > >> > It would be nice if you (or anyone else) could explain it for me. >> > >> > Thanks in advance, >> > Benjamin >> > >> > 2007/11/19, godin <[EMAIL PROTECTED]>: >> > >> > > >> > > godin a écrit : >> > > > Frank Bille a écrit : >> > > >> Hi, >> > > >> >> > > >> Do you have problems with it? >> > > >> >> > > >> >> > > > >> > > > yes , the submit work half a time >> > > > i will investigate it more >> > > >> > > >> > > Ok find a workaround, >> > > pb on mozilla, use a decorator >> > > super.decorateScript("tinyMCE.triggerSave(true, >> > > true);"+script+"tinyMCE.idCounter=0;"); >> > > >> > > regards marc >> > > Wicket rocks ! >> > > >> I tried it over a year ago, and as far as I remember there was >> > > >> nothing to >> > > >> it. That was Wicket 1.2.3 and tinymce from back then. >> > > >> >> > > >> Frank >> > > >> >> > > >> On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote: >> > > >> >> > > >> >> > > >>> Hi, >> > > >>> doe somebody manage to make tinymce work with an ajax submit >> button >> > > >>> regards >> > > >>> Marc >> > > >>> >> > > >>> >> ----- >> > > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >> > > >>> For additional commands, e-mail: [EMAIL PROTECTED] >> > > >>> >> > > >>> >> > > >>> >> > > >> >> > > >> >> > > > >> > > > >> - >> > > > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > > > For additional commands, e-mail: [EMAIL PROTECTED] >> > > > >> > > >> > > - >> > > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > > For additional commands, e-mail: [EMAIL PROTECTED] >> > > >> > > >> > >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/tinymce-ajax-submit-tp13796517p20026094.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Controlling tinyMCE component
The Wicket TinyMCE API (referring to the latest 1.3 snapshot release) is indeed not as feature rich as one could have wanted. But in the end the Wicket TinyMCE API just generates the javascript code to initialize TinyMCE (see the TinyMCE website). So, for example, to disable the second toolbar row you can overwrite the toJavaScript method of the TinyMCESettings object and do something like this: String buffer = super.toJavaScript(mode, components); buffer += ",\n\ttheme_advanced_buttons2 : \"\""; Sverre -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Verzonden: maandag 27 oktober 2008 15:49 Aan: users@wicket.apache.org Onderwerp: Controlling tinyMCE component The tinyMCE component has two themes - simple and advanced. When in simple - there is only one toolbar, when in advanced - three. 1. How can I remove toolbars? I could not find such an API. 2. How do I remove separators so that I can rearrange freely the buttons? Kind regards: al_shopov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Controlling tinyMCE component
> So, for example, to disable the second toolbar row you can overwrite the > toJavaScript method of the TinyMCESettings object and do something like Thanx, Seems just the right approach. The toJavaScript way will allow me to do even further customizations. Kind regards: al_shopov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TinyMCE ajax load
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" 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 > 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" > > 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
Re: TinyMCE ajax load
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" 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
Re: TinyMCE ajax load
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 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" > 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
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" 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 > 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" > > 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
Re: TinyMCE ajax load
Just do it as a normal ajax form submit, in 1.4 Pointbreak 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" 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
Re: Error building TinyMce
Hi Ashtek, I think just try first D:\mystuff\ibtools\apache-wicket-1.3.5\tinymce-parent\ >mvn install and than D:\mystuff\ibtools\apache-wicket-1.3.5\tinymce-parent\tinymce>mvn install I hope this help. Best regards, -- Pozdrowienia Łukasz Lipka http://lukaszlipka.blogspot.com/ 2009/2/10 ashtek : > > I am trying to build TinyMCE and I get the following error - Has anyone seen > this error before? > > D:\mystuff\ibtools\apache-wicket-1.3.5\tinymce-parent\tinymce>mvn install > [INFO] Scanning for projects... > [INFO] > > [ERROR] FATAL ERROR > [INFO] > > [INFO] Error building POM (may not be this project's POM). > > > Project ID: unknown:tinymce > > Reason: Parent: null:tinymce-parent:jar:null of project: unknown:tinymce has > wro > ng packaging: jar. Must be 'pom'. for project unknown:tinymce > > > [INFO] > > [INFO] Trace > org.apache.maven.reactor.MavenExecutionException: Parent: > null:tinymce-parent:ja > r:null of project: unknown:tinymce has wrong packaging: jar. Must be 'pom'. > for > project unknown:tinymce >at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) >at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) >at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > -- > View this message in context: > http://www.nabble.com/Error-building-TinyMce-tp21941674p21941674.html > Sent from the Wicket - User 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: Error building TinyMce
Thanks Lukasz. I tried what you suggest and I still got the same error. D:\mystuff\ibtools\apache-wicket-1.3.5\tinymce-parent>mvn install [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown:tinymce-parent Reason: Parent: org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT of proje ct: unknown:tinymce-parent has wrong packaging: jar. Must be 'pom'. for project unknown:tinymce-parent [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Parent: org.wicketstuff:wicket -- View this message in context: http://www.nabble.com/Error-building-TinyMce-tp21941674p21944690.html Sent from the Wicket - User 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: Error building TinyMce
funny I had the same problem with Mule and source code, and I think there is missing wicketstuff jar, just try to download all wicketstuff and build it, I am using the newest tinymc with wicket-1.4, and I am able to build jars without problems. Best regards, -- Pozdrowienia Łukasz Lipka http://lukaszlipka.blogspot.com/ 2009/2/10 ashtek : > > Thanks Lukasz. > > I tried what you suggest and I still got the same error. > > D:\mystuff\ibtools\apache-wicket-1.3.5\tinymce-parent>mvn install > [INFO] Scanning for projects... > [INFO] > > [ERROR] FATAL ERROR > [INFO] > > [INFO] Error building POM (may not be this project's POM). > > > Project ID: unknown:tinymce-parent > > Reason: Parent: org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT of > proje > ct: unknown:tinymce-parent has wrong packaging: jar. Must be 'pom'. for > project > unknown:tinymce-parent > > > [INFO] > > [INFO] Trace > org.apache.maven.reactor.MavenExecutionException: Parent: > org.wicketstuff:wicket > > > > > > > > -- > View this message in context: > http://www.nabble.com/Error-building-TinyMce-tp21941674p21944690.html > Sent from the Wicket - User 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: Error building TinyMce
I have been struggling with the last couple of days, and I am not sure if it because I am using the 1.3 snapshot In any case, you just do a svn checkout and then an mvn install, right? No editing files after the checkout? Can you also give me the checkout URL you used? The one listed on Wicketstuff wiki does not seem to work. -- View this message in context: http://www.nabble.com/Error-building-TinyMce-tp21941674p21945694.html Sent from the Wicket - User 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: Error building TinyMce
I have been struggling with the last couple of days, and I am not sure if it because I am using the 1.3 snapshot In any case, you just do a svn checkout and then an mvn install, right? No editing files after the checkout? Can you also give me the checkout URL you used? The one listed on Wicketstuff wiki does not seem to work. -- View this message in context: http://www.nabble.com/Error-building-TinyMce-tp21941674p21945755.html Sent from the Wicket - User 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: problems with tinymce
Code helps us help you. Post code for us to help you. I would suspect that tinymce js files come with the tinymce integration. If not, the place to get working tinymce files would be from tinymce's website. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 10:02 AM, balingen tame wrote: > I am having lot of troubles with tinymce ,First please suggest me where to > get working tinymce java script files so that I can build the working > tinymce, > I copied text from ms-word to tinymce and surprisingly nothing gets posted > to server, > second If I use tinymce in a modelwindow with a panel , the tinymce editor > cannot get moue events like I cannot clik in tinymce to type text > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Form submit with tinymce
Hello guys, I'm trying to submit a form (including tinymce content and an emoticon). The problem I'm having is that the emoticon does not get displayed at the destination only some text. does anyone know what to do. Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Big Problem with TinyMCE
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 then "tinyMCE.idCounter=0;" after the submit. I used an IAjaxCallDecorator to add these functions to the submit button. The problem is that the form only submits with every other press of the button. When it fails, it looks like no script appended after the triggerSave runs. Can anyone help me out? I'm stuck. Thanks, Brad
SV: TinyMCE + TextArea + Jackrabbit
> Using wicketstuff tinymce 1.4.1 attached to a TextArea, it seems I > cannot get it to stop escaping the resulting HTML: > > TextArea textArea = new > TextArea("threadSubjectTextInput", new Model("")); > textArea.setEscapeModelStrings(false); > TinyMCESettings settings = new TinyMCESettings(); > settings.setToolbarLocation(TinyMCESettings.Location.top); > TinyMceBehavior behavior = new TinyMceBehavior(settings); > textArea.add(behavior); Forget it, it was code from a copy & paste developer, worked when I added the escape call to the other "copy" of this code... - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
wicket tinymce blank string
I use tinymce behaviour for my textarea. Suppose user enters in tinymce textarea white spaces and saves the form , the value for the property representing textarea is neither null nor blank string , and so I insert into database, is there any way I can identify if text from inymce is blank string ?
Wicket Stuff TinyMCE Update?
Hi All, Who if anyone is in charge of the Wicket Stuff TinyMCE project? I have been having some issues with it and noticed that the TinyMCE files have not been updated since the initial 3.3 release. I tried simply replacing the tiny_mce folder inside a copy of the tinymce-1.4.12.jar with the latest from the website and my issues are completely gone now. Is there any chance we could get an updated release with the newer files? Now another question is coming to mind, is there any sort of standard defined for how often an included dependency like this should be updated? On one hand it would be nice to always have the most up-to-date files available through maven, but on the other hand that could be very time and resource consuming depending on how often the dependency is updated. Thoughts? Suggestions? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: TinyMCE in ModalWindow
i know that TinyMCE can only work in page , can this help you. 2010/10/19 Brad Grier > I've implemented TinyMCE in my app and all is well with one exception. I > can't get it to work in a ModalWindow (TinyMCE works the first time but > subsequently opens in an blank, uneditable state). Someone suggested using > the TinyMCE javascript functions "mceRemoveControl" and "mceAddControl" to > work around this issue. If that's the answer, I can't get it to work (likely > because I'm missing something). > > Has anyone found a workaround to this problem?
Wicket TinyMCE 1.4.18 fails
with the message in JS console: /app/resources/wicket.contrib.tinymce.InPlaceEditBehavior/tiny_mce/themes/advanced/editor_template_src.js:128 Uncaught TypeError: Cannot call method 'push' of undefined and it didn't so for 1.4.17. Could anybody confirm this? lg -- Leszek Gawronhttp://lgawron.posterous.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Latest version of TinyMCE
Hi all, I am trying to get the latest version of TinyMCE... I have tried getting this from Maven like so: org.wicketstuff tinymce 1.4.18 When looking at the version of TinyMCE it says its version 3.3. This version is quite old- latest version on TinyMCE website is 3.4.6. The reason I need the latest version is that I am having major problems with IE9. Some Googling shows that it may be fixed in later versions. I have seen jbrookover / core from GitHub which seems to have version 3.4.1. I am not sure whether this should be used and how to get it has a jar. Any help would be appreciated. Regards Vishal - 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 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 Letynski 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 > > 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
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
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: Wicket - TinyMCE/FckEditor
Are there any examples of Wicket integrated with FckEditor (the one before CkEditor)? >-Original Message- >From: Michal Letynski [mailto:m...@consol.ae] >Sent: Tuesday, 2 August 2011 3:25 PM >To: users@wicket.apache.org >Subject: Re: Wicket - TinyMCE > >Hi. >W dniu 2011-08-02 04:29, ramazan pekin pisze: >> Hi to everyone, >> >> I am looking for rich text editor and I found TinyMCE. But I couldnt >> find any document/example page how can I integrate wicket and TinyMCE >> explained detailed. Do you know is there any documentation or example >> about this subject? >There are some examples for it: > >https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce- >parent/tinymce-examples > >> Thanks, br. >> Ramazan >> >> - >> 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
Re: Wicket - TinyMCE/FckEditor
Hi Michal, If you want a really nice and simple Rich Text Editor, take a look at visural-wicket project. Here is the link to the demos - http://wicket.visural.net/examples/app/ regards. Josh. On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman wrote: > Are there any examples of Wicket integrated with FckEditor (the one > before CkEditor)? > > >-Original Message- > >From: Michal Letynski [mailto:m...@consol.ae] > >Sent: Tuesday, 2 August 2011 3:25 PM > >To: users@wicket.apache.org > >Subject: Re: Wicket - TinyMCE > > > >Hi. > >W dniu 2011-08-02 04:29, ramazan pekin pisze: > >> Hi to everyone, > >> > >> I am looking for rich text editor and I found TinyMCE. But I couldnt > >> find any document/example page how can I integrate wicket and TinyMCE > >> explained detailed. Do you know is there any documentation or example > >> about this subject? > >There are some examples for it: > > > >https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce- > >parent/tinymce-examples > > > >> Thanks, br. > >> Ramazan > >> > >> - > >> 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 > >
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: Wicket - TinyMCE/FckEditor
W dniu 2011-08-02 09:34, Josh Kamau pisze: Hi Michal, If you want a really nice and simple Rich Text Editor, take a look at visural-wicket project. Here is the link to the demos - http://wicket.visural.net/examples/app/ NicEdit is dead. Its not supported for long time. regards. Josh. On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman wrote: Are there any examples of Wicket integrated with FckEditor (the one before CkEditor)? -Original Message- From: Michal Letynski [mailto:m...@consol.ae] Sent: Tuesday, 2 August 2011 3:25 PM To: users@wicket.apache.org Subject: Re: Wicket - TinyMCE Hi. W dniu 2011-08-02 04:29, ramazan pekin pisze: Hi to everyone, I am looking for rich text editor and I found TinyMCE. But I couldnt find any document/example page how can I integrate wicket and TinyMCE explained detailed. Do you know is there any documentation or example about this subject? There are some examples for it: https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce- parent/tinymce-examples Thanks, br. Ramazan - 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
RE: Wicket - TinyMCE/FckEditor
Unfortunately we're using some features of FckEditor that don't seem to be supported by Visural. The main one is the support of images and being able to specify an "image provider" that can provide the user with a list of images available to choose from. The developer can define virtually any implementation they want of the "image provider". If that sort of thing were available today we'd really like to move to Visural. >-Original Message- >From: Josh Kamau [mailto:joshnet2...@gmail.com] >Sent: Tuesday, 2 August 2011 3:34 PM >To: users@wicket.apache.org >Subject: Re: Wicket - TinyMCE/FckEditor > >Hi Michal, > >If you want a really nice and simple Rich Text Editor, take a look at >visural-wicket project. > >Here is the link to the demos - http://wicket.visural.net/examples/app/ > >regards. >Josh. > >On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman >wrote: > >> Are there any examples of Wicket integrated with FckEditor (the one >> before CkEditor)? >> >> >-Original Message- >> >From: Michal Letynski [mailto:m...@consol.ae] >> >Sent: Tuesday, 2 August 2011 3:25 PM >> >To: users@wicket.apache.org >> >Subject: Re: Wicket - TinyMCE >> > >> >Hi. >> >W dniu 2011-08-02 04:29, ramazan pekin pisze: >> >> Hi to everyone, >> >> >> >> I am looking for rich text editor and I found TinyMCE. But I couldnt >> >> find any document/example page how can I integrate wicket and TinyMCE >> >> explained detailed. Do you know is there any documentation or example >> >> about this subject? >> >There are some examples for it: >> > >> >https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce- >> >parent/tinymce-examples >> > >> >> Thanks, br. >> >> Ramazan >> >> >> >> - >> >> 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
RE: Wicket - TinyMCE/FckEditor
>W dniu 2011-08-02 09:34, Josh Kamau pisze: >> Hi Michal, >> >> If you want a really nice and simple Rich Text Editor, take a look at >> visural-wicket project. >> >NicEdit is dead. Its not supported for long time. Doh! I did noticed it has some quirks in it's operation. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket - TinyMCE/FckEditor
I created a Wicket FCKEditor component some time back. It takes care of rendering the javascripts and all the rest for you and you just instantiate it like: add(new FCKTextArea("id")); If you would like this, drop me a line and I'll dig out the code. cheers. Steve On 02/08/2011, at 3:53 PM, Chris Colman wrote: > Unfortunately we're using some features of FckEditor that don't seem to > be supported by Visural. The main one is the support of images and being > able to specify an "image provider" that can provide the user with a > list of images available to choose from. The developer can define > virtually any implementation they want of the "image provider". > > If that sort of thing were available today we'd really like to move to > Visural. > >> -Original Message- >> From: Josh Kamau [mailto:joshnet2...@gmail.com] >> Sent: Tuesday, 2 August 2011 3:34 PM >> To: users@wicket.apache.org >> Subject: Re: Wicket - TinyMCE/FckEditor >> >> Hi Michal, >> >> If you want a really nice and simple Rich Text Editor, take a look at >> visural-wicket project. >> >> Here is the link to the demos - http://wicket.visural.net/examples/app/ >> >> regards. >> Josh. >> >> On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman >> wrote: >> >>> Are there any examples of Wicket integrated with FckEditor (the one >>> before CkEditor)? >>> >>>> -Original Message- >>>> From: Michal Letynski [mailto:m...@consol.ae] >>>> Sent: Tuesday, 2 August 2011 3:25 PM >>>> To: users@wicket.apache.org >>>> Subject: Re: Wicket - TinyMCE >>>> >>>> Hi. >>>> W dniu 2011-08-02 04:29, ramazan pekin pisze: >>>>> Hi to everyone, >>>>> >>>>> I am looking for rich text editor and I found TinyMCE. But I > couldnt >>>>> find any document/example page how can I integrate wicket and > TinyMCE >>>>> explained detailed. Do you know is there any documentation or > example >>>>> about this subject? >>>> There are some examples for it: >>>> >>> >> https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce- >>>> parent/tinymce-examples >>>> >>>>> Thanks, br. >>>>> Ramazan >>>>> >>>>> > - >>>>> 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 > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: TinyMCE ImageUploadPlugin problem
I think that the missing button is a bug while uploaded images are placed into temp dir. I don't know if there is a way to configure this path. Hi, I have a form with a textarea TinyMceBehavior attached. I would like to provide users to upload and include images in their articles. I did the following method: ImageUploadPanel imageUploadPanel = new ImageUploadPanel("uploadPanel"); TinyMCeAdvancedSettings settings = new TinyMCeAdvancedSettings(); ImageUploadPlugin plugin = new ImageUploadPlugin(imageUploadPanel.getImageUploadBehavior()); settings.add(plugin.getImageUploadButton(), TinyMCESettings.Toolbar.first,TinyMCESettings.Position.after); add(imageUploadPanel); article.add(new TinyMceBehavior(settings)); The result is that upload button's icon is missing but the upload function works. I can upload files but have two problems. First is I'm not able to control where to put uploaded files (Not even know where are they now. I suppose somewhere tmp dir). The second one is that after upload img inserted in the article the following way: If anyone could point to what I'm wrong I really would appreciate that! thnx, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616.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: TinyMCE ImageUploadPlugin problem
If I would have some time I would upgrade wicket to 6.x series and test it with 6.0. Until I appreciate any comments :). thnx, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616p4654713.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: TinyMCE ImageUploadPlugin problem
A patch for the things you've pointed out in the previous mail has been merged into the wicketstuff repository: https://github.com/wicketstuff/core/pull/179. They should be available in the next release. If I would have some time I would upgrade wicket to 6.x series and test it with 6.0. Until I appreciate any comments :). thnx, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616p4654713.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 -- Andrea Del Bene Abaco Informatica S.r.l. Via Montegrappa, 3 61121 Pesaro (IT) Tel. +39 0721 35425 Fax. +39 0721 32967 P.IVA 00933130411 Associato AssoProvider CISCO Systems Partner PREMIER Certified ABANET is associated to RIPE (AS 12468) Http://www.abanet.it Questa é una email privata ad uso confidenziale; é proibito ogni uso non autorizzato. This message is confidential; any unauthorised use is forbidden. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
custom button in tinymce
I am using wicket tinymce .I want to add a custom button to tinymce which I can do using tinymce init script , i also want to know if user clicked on this button when the form is submitted at the server side any suggestion on how to ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/custom-button-in-tinymce-tp4658630.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: tinymce ajax submit
Hi Marc, I have the same problem. When i am submitting a textarea with a TinyMCEBehavior the model of the textarea does not get updated. I am interested in your solution, but I do not understand it. It would be nice if you (or anyone else) could explain it for me. Thanks in advance, Benjamin 2007/11/19, godin <[EMAIL PROTECTED]>: > > godin a écrit : > > Frank Bille a écrit : > >> Hi, > >> > >> Do you have problems with it? > >> > >> > > > > yes , the submit work half a time > > i will investigate it more > > > Ok find a workaround, > pb on mozilla, use a decorator > super.decorateScript("tinyMCE.triggerSave(true, > true);"+script+"tinyMCE.idCounter=0;"); > > regards marc > Wicket rocks ! > >> I tried it over a year ago, and as far as I remember there was > >> nothing to > >> it. That was Wicket 1.2.3 and tinymce from back then. > >> > >> Frank > >> > >> On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote: > >> > >> > >>> Hi, > >>> doe somebody manage to make tinymce work with an ajax submit button > >>> regards > >>> Marc > >>> > >>> - > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >> > >> > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: tinymce ajax submit
tinymce replaces the textarea with an iframe. after that it installs an onsubmit hook to detect when the form is submitted and does the opposite. since you are submitting via ajax form's onsubmit() is never called and so tinymce doesnt replace the iframe with a textarea piror tp submit. you need to look at what that callback calls and call it yourself -igor On Feb 19, 2008 2:55 AM, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > Hi Marc, > > I have the same problem. When i am submitting a textarea with a > TinyMCEBehavior the model of the textarea does not get updated. > I am interested in your solution, but I do not understand it. > > It would be nice if you (or anyone else) could explain it for me. > > Thanks in advance, > Benjamin > > 2007/11/19, godin <[EMAIL PROTECTED]>: > > > > > godin a écrit : > > > Frank Bille a écrit : > > >> Hi, > > >> > > >> Do you have problems with it? > > >> > > >> > > > > > > yes , the submit work half a time > > > i will investigate it more > > > > > > Ok find a workaround, > > pb on mozilla, use a decorator > > super.decorateScript("tinyMCE.triggerSave(true, > > true);"+script+"tinyMCE.idCounter=0;"); > > > > regards marc > > Wicket rocks ! > > >> I tried it over a year ago, and as far as I remember there was > > >> nothing to > > >> it. That was Wicket 1.2.3 and tinymce from back then. > > >> > > >> Frank > > >> > > >> On Nov 16, 2007 5:24 PM, godin <[EMAIL PROTECTED]> wrote: > > >> > > >> > > >>> Hi, > > >>> doe somebody manage to make tinymce work with an ajax submit button > > >>> regards > > >>> Marc > > >>> > > >>> - > > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > > >>> For additional commands, e-mail: [EMAIL PROTECTED] > > >>> > > >>> > > >>> > > >> > > >> > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wicket-contrib-tinymce
Found it: http://wicketstuff.org/maven/repository/org/wicketstuff/wicket-contrib-tinymce/1.3-SNAPSHOT/ Also see this in svn for examples on using Wicket TinyMCE: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-tinymce-examples/ Thanks, Zach Zach Cox wrote: > > Is there a version of wicket-contrib-tinymce floating around somewhere > that is compatible with Wicket 1.3.1? > > Thanks, > Zach > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/wicket-contrib-tinymce-tp15819972p15827810.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TinyMCE & Twitter Bootstrap Toggle
Hello, I have a bootstrap toggle button which the user can use to open and close TinyMCE editor. When the page is rendered I would like the TinyMCE editor to be closed and when user clicks on the toggle button - open. Note that twitter bootstrap button needs to know TinyMCE#getAjaxRegionMarkupId(area) in order to use it in toggle-target='xxx' attribute to toggle it. Is there a way to configure TinyMceBehavior to render hidden by default? Any other ideas on how I can get this solved? Thanks, Alec
TinyMce disappears with CryptoMapper
I have a weird problem in wicket 6.12.0 where the TinyMce component does not display. It will in certain cases and in some of those cases a browser refresh causes it to vanish. If I remove the CryptoMapper from my Application.init method then it works fine. I tried creating a quickstart but I was unable to recreate the problem. I am hoping someone can point me in the right direction. By the way I do not think this was just introduced in 6.12.0. I have tried several versions and it is still there. Everytime it does not appear I see this error in the log: java.lang.IllegalArgumentException: Argument 'name' may not be null or empty. at org.apache.wicket.util.lang.Args.notEmpty(Args.java:64) at org.apache.wicket.core.request.mapper.AbstractComponentMapper.getPageClass(AbstractComponentMapper.java:137) at org.apache.wicket.core.request.mapper.BookmarkableMapper.parseRequest(BookmarkableMapper.java:118) at org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapRequest(AbstractBookmarkableMapper.java:288) at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:152) at org.apache.wicket.core.request.mapper.CryptoMapper.mapRequest(CryptoMapper.java:127) at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:190) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:215) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289) at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:152) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:904) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:565) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:724) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499.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