1 package org.turro.crm.zul.sale;
3 import java.util.Collection;
4 import org.turro.command.CommandUtil;
5 import org.turro.crm.entity.SaleProspect;
6 import org.turro.i18n.I_;
7 import org.turro.zkoss.grid.PagingGrid;
8 import org.turro.zkoss.label.LabelExtended;
9 import org.zkoss.zk.ui.ext.AfterCompose;
10 import org.zkoss.zul.Column;
11 import org.zkoss.zul.Columns;
12 import org.zkoss.zul.Row;
13 import org.zkoss.zul.Rows;
29 this.filterGrid = filterGrid;
44 private void addRows() {
49 Rows rows =
new Rows();
54 rows.appendChild(row);
55 row.appendChild(
new LabelExtended().setDate(cd.getProspectDate()));
62 private void addColumns() {
63 Columns cols =
new Columns();
66 Column col =
new Column(I_.get(
"Date"),
null,
"90px");
67 cols.appendChild(col);
69 col =
new Column(I_.get(
"Description"));
70 cols.appendChild(col);
static HtmlBasedComponent getLinkOrSpace(Object entity)
Collection< SaleProspect > getObjectValues(List< IFilterValue > values)
SaleProspectFilter getFilter()
void setFilterGrid(SaleProspectFilterGrid filterGrid)
List< IFilterValue > getValues()
Rows getRows(boolean create)
void setRowCount(int rows)