Package org.zkoss.zk.ui.sys

Examples of org.zkoss.zk.ui.sys.IdGenerator


    _exec = exec; //fake
    try {
      final WebAppCtrl wappc = (WebAppCtrl)_wapp;
      final DesktopCache dc = _sess != null ? wappc.getDesktopCache(_sess): null;
        //_sess is null if in a working thread
      final IdGenerator idgen = wappc.getIdGenerator();
      if (idgen != null)
        _id = idgen.nextDesktopId(this);
      if (_id == null)
        _id = nextDesktopId(dc);
      else if (idgen != null)
        ComponentsCtrl.checkUuid(_id);
      updateUuidPrefix();
View Full Code Here


  public int getNextKey() {
    return _nextKey++;
  }
  public String getNextUuid(Page page) {
    final IdGenerator idgen = ((WebAppCtrl)_wapp).getIdGenerator();
    String uuid = idgen != null ? idgen.nextPageUuid(page): null;
    if (uuid == null)
      return nextUuid();

    ComponentsCtrl.checkUuid(uuid);
    return uuid;
View Full Code Here

          return uuid;
        }
      }
    }

    final IdGenerator idgen = ((WebAppCtrl)_wapp).getIdGenerator();
    String uuid = idgen != null ? idgen.nextComponentUuid(this, comp): null;
    if (uuid == null)
      return nextUuid();

    ComponentsCtrl.checkUuid(uuid);
    return uuid;
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.sys.IdGenerator

Copyright © 2018 www.massapicom. 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.