add(txt = new TextArea("editor", editModel));
txt.setOutputMarkupId(true);
txt.add(new SimpleAttributeModifier("style", "height: " + getHeight()
+ "px !important; width: 90% !important;"));
add(new WebMarkupContainer("cancel").add(new MFXFadeOutBehavior("onclick", Duration.milliseconds(500),
EditPanel.this) {
private static final long serialVersionUID = 1L;
@Override
protected void onEvent(final AjaxRequestTarget arg0) {
goToView(arg0);
}
}));
add(new WebMarkupContainer("save").add(new MFXFadeOutBehavior("onclick", Duration.milliseconds(500),
EditPanel.this) {
private static final long serialVersionUID = 1L;
@Override