I'm calling this method:
private void initRichText() {
String bodyVal = "";
String teaserVal = "";
if (!isNew) {
bodyVal = getEditedEntity().getBody();
teaserVal = getEditedEntity().getTeaser();
}
TrixEditor body = new TrixEditor(bodyVal);
body.setReadOnly(false);
bodyField.add(body);
TrixEditor teaser = new TrixEditor(teaserVal);
teaserField.add(teaser);
}
but it’s not setting initial values don’t show up in the ui, why is that?