19 package org.turro.crm.zul.sale;
21 import java.util.Collection;
22 import org.turro.command.CommandUtil;
23 import org.turro.crm.entity.Campaign;
24 import org.turro.i18n.I_;
25 import org.turro.zkoss.grid.PagingGrid;
26 import org.turro.zkoss.label.LabelExtended;
27 import org.zkoss.zk.ui.ext.AfterCompose;
28 import org.zkoss.zul.Column;
29 import org.zkoss.zul.Columns;
30 import org.zkoss.zul.Row;
31 import org.zkoss.zul.Rows;
47 this.filterGrid = filterGrid;
62 private void addRows() {
67 Rows rows =
new Rows();
72 rows.appendChild(row);
73 row.appendChild(
new LabelExtended().setDate(cd.getCampaignDate()));
80 private void addColumns() {
81 Columns cols =
new Columns();
84 Column col =
new Column(I_.get(
"Date"),
null,
"90px");
85 cols.appendChild(col);
87 col =
new Column(I_.get(
"Description"));
88 cols.appendChild(col);
static HtmlBasedComponent getLinkOrSpace(Object entity)
Collection< Campaign > getCampaigns(List< IFilterValue > values)
void setFilterGrid(CampaignFilterGrid filterGrid)
CampaignFilter getFilter()
List< IFilterValue > getValues()
Rows getRows(boolean create)
void setRowCount(int rows)