19 package org.turro.crm.zul.vendor;
21 import java.util.Collection;
22 import org.turro.command.CommandUtil;
23 import org.turro.crm.entity.Vendor;
24 import org.turro.i18n.I_;
25 import org.turro.zkoss.grid.PagingGrid;
26 import org.zkoss.zk.ui.ext.AfterCompose;
27 import org.zkoss.zul.Column;
28 import org.zkoss.zul.Columns;
29 import org.zkoss.zul.Row;
30 import org.zkoss.zul.Rows;
47 this.filterGrid = filterGrid;
62 private void addRows() {
67 Rows rows =
new Rows();
70 for(
final Vendor cd : list) {
72 rows.appendChild(row);
79 private void addColumns() {
80 Columns cols =
new Columns();
83 Column col =
new Column(I_.get(
"Vendor"));
84 cols.appendChild(col);
static HtmlBasedComponent getLinkOrSpace(Object entity)
Collection< Vendor > getVendors(List< IFilterValue > values)
void setFilterGrid(VendorFilterGrid filterGrid)
List< IFilterValue > getValues()
Rows getRows(boolean create)
void setRowCount(int rows)