コード例 #1
0
  /** Called after sending a successful update response. */
  public void afterUpdateResponse() {

    getRequestStats().afterUpdateResponse();

    clearClientState();
    xformsControls.afterUpdateResponse();
    // Tell dependencies
    xpathDependencies.afterUpdateResponse();
  }
コード例 #2
0
  public void initializeNestedControls() {
    // Call-back from super class models initialization

    // This is important because if controls use binds, those must be up to date. In addition, MIP
    // values will be up
    // to date. Finally, upon receiving xforms-ready after initialization, it is better if
    // calculations and
    // validations are up to date.
    rebuildRecalculateRevalidateIfNeeded();

    // Initialize controls
    xformsControls.createControlTree();
  }
コード例 #3
0
 @Override
 public List<XFormsControl> getChildrenControls(XFormsControls controls) {
   return controls.getCurrentControlTree().getChildren();
 }
コード例 #4
0
 /**
  * Whether the document is dirty since the last request.
  *
  * @return whether the document is dirty since the last request
  */
 public boolean isDirtySinceLastRequest() {
   return xformsControls.isDirtySinceLastRequest();
 }
コード例 #5
0
 public XFormsControl getControlByEffectiveId(String effectiveId) {
   return xformsControls.getObjectByEffectiveId(effectiveId);
 }