<p>hi, i'm calling this method on beforeshowEvent</p><p><br></p><pre spellc

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?