You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Antonio muñoz alonso <an...@hotmail.com> on 2013/02/21 15:37:43 UTC

TinyMCE.

HI.
when i execute my page with a textArea(with TinyMCE).java.lang.NoClassDefFoundError: wicket/contrib/tinymce/TinyMceBehavior
Thanls 		 	   		  

Re: TinyMCE.

Posted by Andrea Del Bene <an...@gmail.com>.
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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: TinyMCE.

Posted by anton <an...@hotmail.com>.
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: TinyMCE.

Posted by Andrea Del Bene <an...@gmail.com>.
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>
> 	<groupId>org.wicketstuff</groupId>
> 	<artifactId>tinymce</artifactId>
> 	<version>1.4.19</version>
> </dependency>
>
> 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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: TinyMCE.

Posted by anton <an...@hotmail.com>.
I use wicket 1.4.19.

<dependency>
	<groupId>org.wicketstuff</groupId>
	<artifactId>tinymce</artifactId>
	<version>1.4.19</version>
</dependency>

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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: TinyMCE.

Posted by Andrea Del Bene <an...@gmail.com>.
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org