19 package org.turro.crm.zul.activity;
21 import java.util.List;
22 import org.turro.command.CommandUtil;
23 import org.turro.crm.entity.SaleProspect;
24 import org.turro.crm.entity.Vendor;
25 import org.turro.crm.search.InactiveProspects;
26 import org.turro.i18n.I_;
27 import org.turro.zkoss.grid.PagingGrid;
28 import org.turro.zkoss.label.LabelExtended;
29 import org.zkoss.zk.ui.ext.AfterCompose;
30 import org.zkoss.zul.Column;
31 import org.zkoss.zul.Columns;
32 import org.zkoss.zul.Row;
33 import org.zkoss.zul.Rows;
56 private void addRows() {
60 rows.getChildren().clear();
64 rows.appendChild(row);
65 row.appendChild(
new LabelExtended().setDate(sp.getProspectDate()));
72 private void addColumns() {
73 Columns cols =
new Columns();
76 Column col =
new Column(I_.get(
"Date"),
null,
"90px");
77 cols.appendChild(col);
79 col =
new Column(I_.get(
"Description"));
80 cols.appendChild(col);
static HtmlBasedComponent getLinkOrSpace(Object entity)
java.util.List< SaleProspect > getObjectValues(Vendor vendor)
void setVendor(Vendor vendor)
Rows getRows(boolean create)
void setRowCount(int rows)