I remember having the same problem on a project I've done last year.
Here's the code I'm using (I think that it's the "TinyMceAjaxSubmitModifier"
that is important) :
final TextArea<String> textArea = new
TextArea<String>("property", getModel());
textArea.add(new TinyMceBehavior(getTinyMCESettings()));
add(textArea);
// submit
add(new IndicatingAjaxButton("submit") {
/** serialVersionUID. */
private static final long serialVersionUID = 1L;
@Override
protected void onSubmit(final AjaxRequestTarget varTarget,
final Form<?> varForm) {
modale.close(varTarget);
}
@Override
protected void onError(final AjaxRequestTarget varTarget,
final Form<?> varForm) {
varTarget.add(varForm);
}
}.add(new TinyMceAjaxSubmitModifier()));
Regards,
Gabriel.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664314.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]