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 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 TextAreaString(message, new 
PropertyModelString(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



tinymce settings

2009-01-26 Thread Swanthe Lindgren

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 TextAreaString(message, new PropertyModelString(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 settings problems

2008-11-25 Thread kengimel

i am trying to integrate TinyMCE an wicket my code is as follows:
for HTML :
 textarea wicket:id=richTextInput rows=10 cols=60 rich text
/textarea

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.init(TinyMCESettings.java:97)

wicket.contrib.tinymce.settings.TinyMCESettings.init(TinyMCESettings.java:91)

wicket.contrib.tinymce.settings.TinyMCESettings.init(TinyMCESettings.java:87)
wicket.contrib.tinymce.TinyMceBehavior.init(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]