Package org.zkoss.zk.ui.ext

Examples of org.zkoss.zk.ui.ext.Scope.removeAttribute()


  private void restoreStatus() {
    final Scope scope = getScope();
    if (_status.previous != null)
      scope.setAttribute("forEachStatus", _status.previous);
    else
      scope.removeAttribute("forEachStatus");
    if (_oldEach != null)
      scope.setAttribute("each", _oldEach);
    else
      scope.removeAttribute("each");
    _it = null; _status = null; //recycle (just in case)
View Full Code Here


    else
      scope.removeAttribute("forEachStatus");
    if (_oldEach != null)
      scope.setAttribute("each", _oldEach);
    else
      scope.removeAttribute("each");
    _it = null; _status = null; //recycle (just in case)
  }
  private Scope getScope() {
    return _comp != null ? (Scope)_comp: _page;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.