Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello Andrea, Thanks a lot for this fix. I have another question. The fix now delays the creation of the settings object inside the InPlaceEditComponent to the onInitialize() method. This means I can no longer configure the settings after creating the InPlaceEditComponent in my panel. Is it

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Martin Grigorov
Hi, You can override #onInitialize() and do what you need after calling super.onInitialize(). Martin Grigorov Wicket Training and Consulting On Tue, Apr 22, 2014 at 3:35 PM, Dirk Germonpré dirk.germon...@gmail.comwrote: Hello Andrea, Thanks a lot for this fix. I have another question.

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello, I understand. In that case, I still need a getter method for the settings object inside the TinyMceBehavior. Kind regards, Dirk. 2014-04-22 14:38 GMT+02:00 Martin Grigorov mgrigo...@apache.org: Hi, You can override #onInitialize() and do what you need after calling

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello, I think there is a problem with the fix. In TinyMceBehavior the method beforeRender was removed (in which a div was added), so I suppose the method afterRender should also be removed (in which the div is closed). Kind regards, Dirk. 2014-04-21 14:32 GMT+02:00 Andrea Del Bene

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Andrea Del Bene
Hi Dirk, I changed the code following your advices: https://github.com/wicketstuff/core/commit/d763815f6cc05d799df628e2c3cba61b9c6b1410 Hello, I think there is a problem with the fix. In TinyMceBehavior the method beforeRender was removed (in which a div was added), so I suppose the method

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-21 Thread Andrea Del Bene
Hello, I've worked to fix the issue. You can see the result here: https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1dbb639158eb7 However, I don't think there is an easy workaround to apply to the current version. The good news is that Wicket 6.15.0 is around the conner

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Hello, Switching back to version 6.9.0 doesn't make a change. If I click the cancel button in the editor, it closes, but when I reopen it again, nothing works anymore. In what version should it be fixed? Is there a new JIRA issue? Kind regards, Dirk.

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Martin Grigorov
https://github.com/wicketstuff/core/commit/9fa1c25c113800ef9c55cdc4afbaacc3d6e3256a this is the fix Martin Grigorov Wicket Training and Consulting On Tue, Apr 15, 2014 at 11:00 AM, Dirk Germonpré dirk.germon...@gmail.comwrote: Hello, Switching back to version 6.9.0 doesn't make a change.

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Great! It does the trick. Thanks a lot! Kind regards, Dirk. 2014-04-15 10:03 GMT+02:00 Martin Grigorov mgrigo...@apache.org: https://github.com/wicketstuff/core/commit/9fa1c25c113800ef9c55cdc4afbaacc3d6e3256a this is the fix Martin Grigorov Wicket Training and Consulting On Tue, Apr

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Hello, The editor is now working fine in a normal page. But I also need the editor to work inside a modal window. In that case, the editor opens and seems to work fine, until I hit the save button. The save button does nothing, the editor stays open. Is this a known issue? I'm currently working

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Andrea Del Bene
No, it's not a known issue. I will try to investigate it in during the very next days. Hello, The editor is now working fine in a normal page. But I also need the editor to work inside a modal window. In that case, the editor opens and seems to work fine, until I hit the save button. The save

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Martin Grigorov
Hi, Do you use wicketstuff-tinymce 6.14 as well ? http://central.maven.org/maven2/org/wicketstuff/wicketstuff-tinymce/6.14.0/ Martin Grigorov Wicket Training and Consulting On Mon, Apr 14, 2014 at 5:54 PM, Dirk Germonpré dirk.germon...@gmail.comwrote: Hello, I'm working on a large web

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Dirk Germonpré
Yes, I'm using version 6.14 of wicketstuff-tinymce. Dirk. 2014-04-14 16:59 GMT+02:00 Martin Grigorov mgrigo...@apache.org: Hi, Do you use wicketstuff-tinymce 6.14 as well ? http://central.maven.org/maven2/org/wicketstuff/wicketstuff-tinymce/6.14.0/ Martin Grigorov Wicket Training and

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Andrea Del Bene
It's a problem introduced with the workaround at https://issues.apache.org/jira/browse/WICKET-5248 and never removed. If you try working with version 6.9.0 (both Wicket and WicketStuff) you shouldn't have this problem. I'm committing a fix. Yes, I'm using version 6.14 of wicketstuff-tinymce.

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread jchappelle
The original issue is pretty old but tinymce in a modal window worked in 1.5 and it is not working in 6.13.0. I guess I'm going to have to redesign my pages to not use the tinymce in a modal window. -- View this message in context:

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Girts Ziemelis
I had similar problem and at the end it was easier to switch to ckeditor, which work fine in a modal window (so far tested only in development). There is no integration package for wicket AFAIK, but simple custom integration for a specific use case is simple. On 02/07/2014 05:45 PM,

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Gabriel Landon
I remember having the same problem on a project I've done last year. Here's the code I'm using (I think that it's the TinyMceAjaxSubmitModifier that is important) : final TextAreaString textArea = new TextAreaString(property, getModel()); textArea.add(new

Re: tinymce textarea in a modal window not letting to type

2014-02-06 Thread Andrea Del Bene
Hi, as the original issue is pretty old, I think nothing has done about it lately. I will open an issue with the quickstart project and try to solve it when I will have some time. I am having this same issue in wicket 6.13.0. Any fixes as of yet? -- View this message in context:

Re: tinymce textarea in a modal window not letting to type

2014-02-05 Thread jchappelle
I am having this same issue in wicket 6.13.0. Any fixes as of yet? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html Sent from the Users forum mailing list archive at Nabble.com.

Re: tinymce textarea in a modal window not letting to type

2014-01-23 Thread fachhoch
I created a quick start project, first time tinymce editor shows up fine, second time cannot type into editor. myproject.zip http://apache-wicket.1842946.n4.nabble.com/file/n4663912/myproject.zip Please advice. should I create a bug report for this. -- View this message in context:

Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
Sorry for replying to this very old thread , I am having a similar issue, before modalwindow.show I am constructing new instance of my panel call setContent , so every time modalwindow.show is called it displays a new instance of my panel, can you please give me the script which should be

Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
here is my code trying with tinymce and modalwindow wicket and tinymce 6.12.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663886.html Sent from the Users forum mailing list archive at

Re: TinyMce disappears with CryptoMapper

2014-01-08 Thread Sven Meier
Hi, tinymce loads some Javascript files dynamically, e.g. editor_template.js. wicketstuff-tinymce uses a custom request mapper with some magic to serve these files, see TinyMceRequestMapper.KNOWN_SEGMENTS. This won't work with the hashed paths created by CryptoMapper. Regards Sven On

Re: TinyMce disappears with CryptoMapper

2014-01-08 Thread jchappelle
I have found a work around but this seems to be a bug in the wicketstuff-tinymce project. I looked in the wicket.contrib.tinymce.TinyMceInitializer class and the first line of the init method had this: application.getRootRequestMapperAsCompound().add(new TinyMceRequestMapper());

Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread jchappelle
I have a quickstart now. The setResponsePage(new TinyMcePage()) seems to cause the issue. On the HomePage I have a tinymce and it displays fine. However if you click a link that does the setResponsePage and transition to a new page it does not display. Any ideas? -- View this message in context:

Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread Sven Meier
Where's the quickstart? Sven On 01/07/2014 07:28 PM, jchappelle wrote: I have a quickstart now. The setResponsePage(new TinyMcePage()) seems to cause the issue. On the HomePage I have a tinymce and it displays fine. However if you click a link that does the setResponsePage and transition to a

Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread jchappelle
Sorry I thought I posted it. Another thing I'll mention is when I turn on request logging I see these two lines logged out in the console when the problem occurs. It looks like the last couple of segments aren't being encrypted.

Re: TinyMce disappears with CryptoMapper

2014-01-06 Thread Andrea Del Bene
Hi, are you using the TinyMCE module from WicketStuff? 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

Re: TinyMce disappears with CryptoMapper

2014-01-06 Thread jchappelle
Yes. It is version 6.12.0 also. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663504.html Sent from the Users forum mailing list archive at Nabble.com.

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-24 Thread Alec Swan
I noticed that TinyMce plugin in WicketStuff 1.5.9.1 packages an old version of TinyMce. Does anybody know what is the latest TinyMce Wicket plugin release compatible with Wicket 1.5.9? Thanks, Alec On Tue, Jul 23, 2013 at 2:13 PM, Alec Swan alecs...@gmail.com wrote: I am on Wicket 1.5.9

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-24 Thread Andrea Del Bene
ver 1.5.9.1 is the latest one. Look here: http://mvnrepository.com/artifact/org.wicketstuff/wicketstuff-tinymce I noticed that TinyMce plugin in WicketStuff 1.5.9.1 packages an old version of TinyMce. Does anybody know what is the latest TinyMce Wicket plugin release compatible with Wicket

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-23 Thread Andrea Del Bene
Which version of Wicket/WicketStuff are you using? Andrea, thank you for a good pointer. The thing I am struggling with is adding class=collapse to the xxx_wrapper_component which seems to be created by TinyMCE JavaScript after my Wicket code can add AttributeModifier or even invoke $('# +

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-23 Thread Alec Swan
I am on Wicket 1.5.9 using WicketStuff 1.5.9.1. I ended up overriding TinyMceBehavior#beforeRender in order to inject class=collapse on the TinyMCE wrapper DIV. Can you think of a cleaner solution? @Override public void beforeRender(Component component) {

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-22 Thread Andrea Del Bene
Hi, you can have a look at InPlaceEditComponent which is used in the example page InlineTinyMCEPage (see code at https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java) Hello, I have a

Re: TinyMCE Twitter Bootstrap Toggle

2013-07-22 Thread Alec Swan
Andrea, thank you for a good pointer. The thing I am struggling with is adding class=collapse to the xxx_wrapper_component which seems to be created by TinyMCE JavaScript after my Wicket code can add AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() + ').css('class', 'collapse');.

Re: TinyMCE.

2013-02-24 Thread Andrea Del Bene
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

Re: TinyMCE.

2013-02-22 Thread anton
I use wicket 1.4.19. dependency groupIdorg.wicketstuff/groupId artifactIdtinymce/artifactId version1.4.19/version /dependency also gives me the same error with visural wicket. -- View this message in context:

Re: TinyMCE.

2013-02-22 Thread Andrea Del Bene
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. dependency groupIdorg.wicketstuff/groupId artifactIdtinymce/artifactId version1.4.19/version /dependency also

Re: TinyMCE.

2013-02-21 Thread Andrea Del Bene
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

Re: TinyMCE ImageUploadPlugin problem

2012-12-18 Thread Andrea Del Bene
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

Re: TinyMCE ImageUploadPlugin problem

2012-12-11 Thread Sandor Feher
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

Re: TinyMCE ImageUploadPlugin problem

2012-12-10 Thread Andrea Del Bene
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

Re: TinyMCE and textarea : validation problem

2011-12-29 Thread ricmancio
I solved it. I added TinyMceAjaxSubmitModifier class to my AjaxButton: fc = new AjaxButton(button,form){ . }; fc.add(new TinyMceAjaxSubmitModifier()); form.add(fc); *In conclusion:* I added *TinyMceBehavior *to my textarea field and I added

Re: TinyMCE and textarea : validation problem

2011-12-28 Thread Michal Letynski
How your submit button looks like ? You need to copy value from tiny to textarea. tinyMCE.triggerSave(true,true); Look at the TinyMceAjaxButton and TinyMceAjaxSubmitModifier. Regards, Michal W dniu 2011-12-28 20:20, ricmancio pisze: I have a panel where I have a form,feedback and textarea

Re: TinyMCE in ModalWindow

2010-11-02 Thread 蔡茂昌
i know that TinyMCE can only work in page , can this help you. 2010/10/19 Brad Grier brad.gr...@salusnovus.com 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,

Re: TinyMCE Editor with AJAX

2010-07-06 Thread Manfred Bergmann
Hello. I have tried your suggestion but it doesn't seem to solve the issue. I use a OnChangeAjaxBehavior instead of a AjaxFormComponentUpdatingBehavior as the OP. Any other ideas how to get Ajax onchange events back? Regards, Manfred -- View this message in context:

Re: TinyMCE Editor with AJAX

2010-07-06 Thread Manfred Bergmann
It looks like as if the 'blur' event never is called. When changed to 'keyup' the event handler is called. Further RichTextField_instance doesn't seem to have a 'formElement' anymore. Therefore according to the TinyMCE APIs the underlying textarea can be retrieved via

Re: TinyMCE components in WicketStuff

2010-03-18 Thread Igor Vaynberg
http://wicketstuff.org/maven/repository/jazzyplugin/jazzyplugin/0.5.2/ -igor On Tue, Mar 16, 2010 at 1:12 PM, Boris Goldowsky bgoldow...@cast.org wrote: Great.  Can someone with write access to the repository do this?  Or if i can do it via my SVN credentials, tell me how. Thanks! Bng

Re: TinyMCE components in WicketStuff

2010-03-16 Thread Boris Goldowsky
The TinyMCE package depends on the Jazzy spell checker, which doesn't seem to be in any public maven repository. Would it be reasonable to put that jar into the wicketstuff repository? The latest version appears to be the one at https://sourceforge.net/projects/jazzy/files/ Bng

Re: TinyMCE components in WicketStuff

2010-03-16 Thread Igor Vaynberg
sure -igor On Tue, Mar 16, 2010 at 12:21 PM, Boris Goldowsky bgoldow...@cast.org wrote: The TinyMCE package depends on the Jazzy spell checker, which doesn't seem to be in any public maven repository.  Would it be reasonable to put that jar into the wicketstuff repository? The latest

Re: TinyMCE components in WicketStuff

2010-03-16 Thread Boris Goldowsky
Great. Can someone with write access to the repository do this? Or if i can do it via my SVN credentials, tell me how. Thanks! Bng Igor Vaynberg wrote: sure -igor On Tue, Mar 16, 2010 at 12:21 PM, Boris Goldowsky bgoldow...@cast.org wrote: The TinyMCE package depends on the Jazzy

Re: TinyMCE components in WicketStuff

2010-03-15 Thread Boris Goldowsky
There's already a jira issue from Feb '09: http://wicketstuff.org/jira/browse/WCTINYMCE-6 I can try to put in a patch. My Sourceforge ID is bgoldowsky if you'd like to give me access. Bng Igor Vaynberg wrote: there is a jira instance on wicketstuff where you can report bugs. however, i

Re: TinyMCE components in WicketStuff

2010-03-15 Thread Igor Vaynberg
you should have svn access -igor On Mon, Mar 15, 2010 at 12:33 PM, Boris Goldowsky bgoldow...@cast.org wrote: There's already a jira issue from Feb '09:  http://wicketstuff.org/jira/browse/WCTINYMCE-6 I can try to put in a patch.  My Sourceforge ID is bgoldowsky if you'd like to give me

Re: TinyMCE components in WicketStuff

2010-03-05 Thread Igor Vaynberg
there is a jira instance on wicketstuff where you can report bugs. however, i dont think the project is maintained so most likely no one will pay attention to the jira entry. if you would like to take over the maintenance we can grant you svn access. -igor On Fri, Mar 5, 2010 at 9:13 AM, Boris

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-12 Thread bgooren
Daniele, So why don't you collect a list of markup-ids serverside, perform a TinyMCE unload through AjaxRequestTarget.prepentJavascript(), and then have it redraw the list and load TinyMCE in appendJavascript()? Another alternative would be to manually add the component trough javascript, see:

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-10 Thread Daniele Dellafiore
yep I do that. Actually, I wrote that article :) My problem is more subtle here and I have discovered now that is related to javascript execution order. In fact I open a new thread to investigate that specific issue. I also try to produce a ExamplePage to commit on tinymce example project. On

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-09 Thread Daniele Dellafiore
I start from the end: I need fine control over the order javascript is executed. What is the javascript to call a refresh on a component like is done when I use target.addComponent()? From the start. I make that work with bgooren suggestion, using the javascript to remove the editor. No need to

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-09 Thread Dane Laverty
Did you get the response.renderJavascriptReference(TinyMCESettings.javaScriptReference()); ? In my code it goes like this (as per http://wicketbyexample.com/wicket-tinymce-some-advanced-tips/): add(new HeaderContributor(new IHeaderContributor() { public void

Re: TinyMCE Spellcheck

2009-10-09 Thread Dane Laverty
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

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-05 Thread bgooren
I'll show you some parts of my code so you get an idea of how I do things. First of all, I have used AjaxEditableLabel from wicket-extensions as a starting point. TinyMCE's javascripts should always be loaded: // Preload TinyMCE add( new AbstractBehavior() {

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-05 Thread Daniele Dellafiore
Hey Bas, thanks for answering. Unfortunately it does not work. Even if I run: String removeEditor = tinyMCE.execCommand('mceRemoveControl', false, ' + propertyPanel.getValueMarkupId() + ');; target.appendJavascript(removeEditor); or simply

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-03 Thread Daniele Dellafiore
I get what the real problem is: tinyMce saves internally each editor that is added to a page in a list called, well, editors. When I remove the behavior from a textField, I should also call tinyMce.remove passing the editors as a parameter. I will try to do this but any help is appreciated :)

Re: TinyMCE in an Ajax loaded panel

2009-09-30 Thread Daniele Dellafiore
On Thu, Nov 27, 2008 at 5:57 PM, Martijn Lindhout mlindh...@jointeffort.nl wrote: Hi all, I searched nabble, but couldn't find any recent posts that brought me a solution to this problem: I have a page with two panels, a master/detail setup. The master has a list of items, the detail a

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-09-30 Thread bgooren
It's not possible to add TinyMCE dynamically due to the way TinyMCE works. What you can do however, is pre-load TinyMCE, and dynamically enable/disable it on a component. Daniele Dellafiore wrote: Hi. I have a problem with this example code: tinyMceBehavior = new TinyMceBehavior();

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-09-30 Thread nino martinez wael
Actually AFAIK the resources just need to be on path, then you can pretty much do whatever you want. Could be what your definition of preloading are :) I have a panel that are added by ajax so I had to make sure the resources used by that panel always where on the containing page. regards

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-09-30 Thread bgooren
Well, that's what I meant with preloading. You cannot use TinyMCE if you're loading its javascripts from your ajax request. If the TinyMCE scripts are loaded from the containing page, then it will work (as you say). nino martinez wael wrote: Actually AFAIK the resources just need to be on

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-09-30 Thread Daniele Dellafiore
that is what I do. enable disable for me means add/remove to/from a component, while the javascript is loaded as the page is loaded. but, after removing the behavior, the save generate that error. or maybe you mean something different with enable/disable. On Wed, Sep 30, 2009 at 4:50 PM,

RE: TinyMCE in an Ajax loaded panel

2009-08-27 Thread Martin Heras
Sverre, Could you paste the code in a formatted way? I tried to use that code, but its syntax is not right... I don't understand the fragment where you use AjaxCallDecorator... The fragment just says return new AjaxCallDecorator but that is not inside any method... Please I need this as soon as

Re: tinymce textarea in a modal window not letting to type

2009-07-04 Thread Cristi Manole
Fixed Just add the tinyMCE again after the modal is displayed target.appendJavascript(tinyMCE.execCommand('mceRemoveControl',false,' + ... target.appendJavascript(tinyMCE.execCommand('mceAddControl',false,' + ... On Sat, Jul 4, 2009 at 4:01 AM, Cristi Manole cristiman...@gmail.comwrote:

Re: tinymce textarea in a modal window not letting to type

2009-07-03 Thread Cristi Manole
Hey, Did you manage to solve this? I'm facing the same problem - tinymce added to a modal (based on panel) works the first time, second time it is displayed nicely but cannot do anything with it (cannot focus so cannot type). Or anybody else? Thanks On Sat, Apr 25, 2009 at 6:23 AM, balingen

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

2009-06-19 Thread Per Lundholm
Possible to use the close-callback of Modalwindow? http://wicket.apache.org/docs/1.4/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.html#setCloseButtonCallback(org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.CloseButtonCallback) /Per On Fri, Jun 19, 2009 at 2:45

Re: tinymce textarea

2009-04-22 Thread fachhoch
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

Re: tinymce textarea

2009-04-22 Thread Swanthe Lindgren
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

Re: tinymce textarea

2009-04-21 Thread Swanthe Lindgren
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

Re: tinymce textarea

2009-04-21 Thread fachhoch
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

Re: tinymce textarea

2009-04-20 Thread jcgarciam
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

Re: tinymce textarea

2009-04-20 Thread fachhoch
here my code for textarea public class CustomTextAreaT extends TextAreaT { /** * */ private static final long serialVersionUID = 1L; public static final AttributeModifier rows=new AttributeModifier(rows,true, new ModelString(8)); public

Re: tinymce question: how to switch default language?

2009-03-07 Thread Pointbreak
The default language is based on the locale of the session. Which is normally what you want (because it is influenced by the browser preferences, and the same as what wicket is using). You can override it by passing a language as second argument in the TinyMCESettings constructor. On Sat, 07 Mar

Re: tinymce question: how to switch default language?

2009-03-07 Thread rolandpeng
Got it.I missed the part of constructor. The way to set my lanuage works. -- TinyMCESettings settings=new TinyMCESettings(TinyMCESettings.Theme.advanced,Language.tw); -- thank you! pointbreak+wicketstuff wrote: The default language is based on the locale of the session. Which is normally

Re: tinymce settings

2009-01-27 Thread Swanthe Lindgren
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

RE: TinyMCE ajax load

2008-12-17 Thread Sverre Boschman
: 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

Re: TinyMCE ajax load

2008-12-17 Thread Pointbreak
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

Re: TinyMCE ajax load

2008-12-17 Thread Omid Alamdar Milani
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

Re: TinyMCE init method rendering twice

2008-12-10 Thread jchappelle
That works perfectly! Thanks for all your help. pointbreak+wicketstuff wrote: Yes, it looks like TinyMceSettings does not have methods to remove the toolbars. I'll add those as soon as TeamCity deploys jars again... But you could work around that by adding a method overload for

Re: TinyMCE init method rendering twice

2008-12-09 Thread jchappelle
I downloaded the latest snapshot from the wicket-stuff repository and did the setStatusbarLocation(null) and that fixed that problem. However, now I have three toolbars in the top instead of one. All of my buttons are on the top toolbar but underneath it is two others that only have separators in

Re: TinyMCE init method rendering twice

2008-12-09 Thread Pointbreak
Yes, it looks like TinyMceSettings does not have methods to remove the toolbars. I'll add those as soon as TeamCity deploys jars again... But you could work around that by adding a method overload for toJavaScript() to your custom MyTinyMceSettings, something like: public String

Re: TinyMCE init method rendering twice

2008-12-08 Thread Pointbreak
You seem to be using an old version of tinymce. AFAIK, the latest version does not use mode: specific_textareas, but mode: exact in the tinyMCE.init call. Update to the latest version, and you should be fine I guess. You can remove the statusbar via TinyMceSettings.setStatusbarLocation(null)

Re: tinymce ajax submit

2008-10-16 Thread jchappelle
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

Re: tinymce ajax submit

2008-08-11 Thread sander v F
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

Re: TinyMCE Behavior rather than TinyMCE Panel

2008-05-07 Thread Timm Helbig
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.

Re: TinyMCE Behavior rather than TinyMCE Panel

2008-05-07 Thread Ayodeji Aladejebi
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

Re: tinymce ajax submit

2007-11-19 Thread godin
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

Re: tinymce ajax submit

2007-11-19 Thread godin
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

Re: tinymce ajax submit

2007-11-16 Thread Frank Bille
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

Re: TinyMCE and Panel loaded via ajax

2007-07-31 Thread Erik Dreyer
I've made a bit of progress on this. I actually created a new TinyMCEBehavior that does away with the TinyMCESettings because that didn't give me the control I needed in setting up the editor. It's not working 100% yet, but if I can get it working in both browsers reliably, I'll post what I've