Package org.zkoss.zul.impl

Examples of org.zkoss.zul.impl.DataLoader


      } else {
        //bug# 3039282: NullPointerException when assign a model to Grid at onCreate
        //The attribute shall be removed, otherwise DataLoader will not syncModel when setModel
        Executions.getCurrent().removeAttribute("zkoss.Grid.deferInitModel_"+getUuid());
      }
      final DataLoader loader = getDataLoader();
     
      //initialize paginal if any
      Paginal pgi = getPaginal();
      if (pgi != null) pgi.setTotalSize(loader.getTotalSize());
    }
View Full Code Here


        initModel(); //init the model
      } else {
        //The attribute shall be removed, otherwise DataLoader will not syncModel when setModel
        Executions.getCurrent().removeAttribute("zkoss.Listbox.deferInitModel_"+getUuid());
      }
      final DataLoader loader = getDataLoader();

      // initialize paginal if any
      Paginal pgi = getPaginal();
      if (pgi != null)
        pgi.setTotalSize(loader.getTotalSize());
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.impl.DataLoader

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.