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