@Override
  protected void initDisplayer() {
    formRenderer.loadContext(renderingSettings.getContextId());

    formRenderer.setVisible(true);

    formContainer.add(formRenderer.asWidget());
  }
 public void onFormResized(@Observes ResizeFormcontainerEvent event) {
   if (renderingSettings == null) {
     return;
   }
   if (event.isMine(renderingSettings.getContextId())) {
     formRenderer.resize(event.getWidth(), event.getHeight());
     if (resizeListener != null) {
       resizeListener.resize(event.getWidth(), event.getHeight());
     }
   }
 }
 protected void submitForm(String action) {
   this.action = action;
   formRenderer.submitFormAndPersist();
 }