コード例 #1
0
  @Override
  protected void initDisplayer() {
    formRenderer.loadContext(renderingSettings.getContextId());

    formRenderer.setVisible(true);

    formContainer.add(formRenderer.asWidget());
  }
コード例 #2
0
 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());
     }
   }
 }
コード例 #3
0
 protected void submitForm(String action) {
   this.action = action;
   formRenderer.submitFormAndPersist();
 }