I have a panel where I have a form,feedback and  textarea field done so:

//*add feedback panel*

final FeedbackPanel feedback = new FeedbackPanel("feedback");
feedback.setOutputMarkupId(true);
add(feedback);

//*add form*

Form form = new Form("form", 
                                new CompoundPropertyModel(segnif));

//*add component*

FormComponent   fc;

fc = new TextArea("text",new PropertyModel(form,"text"));
fc.setRequired(true);

*the field is required*

*if I add TinyMce so:*

I imports wicket.contrib.tinymce.TinyMceBehavior and modify the code:


fc = new TextArea("text",new PropertyModel(form,"text"));
fc.add(new TinyMceBehavior());
fc.setRequired(true);

then I write on textarea field but on the feedback is written that field is
required,
as if I had not written anything

Validation does not work, when introduce TinyMce, Why?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-and-textarea-validation-problem-tp4240317p4240317.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

Reply via email to