I am attempting to use WicketStuff's TinyMceBehavior to add richtext
capabilities to a textbox.
I added the WicketStuff dependencies (including the one for TinyMce)
However, when I do the following (as WicketStuff's documentation says to)
final TextArea<String> showArticleContent = new
TextArea<>("showArticleContent",
new PropertyModel<String>(this, "articleContent"));
tinyMceBehavior = new TinyMceBehavior();
showArticleContent.add(tinyMceBehavior);
I am getting this error: The method add(IValidator<? super String>) in the
type FormComponent<String> is not applicable for the arguments
(TinyMceBehavior)
Here's a page that demonstrates it:
https://mysticcoders.com/blog/wicket-tinymce-some-advanced-tips
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]