19 package org.turro.crm.zul.touch;
21 import java.util.logging.Level;
22 import java.util.logging.Logger;
23 import org.turro.crm.db.CrmPU;
24 import org.turro.crm.entity.TouchPoint;
25 import org.turro.crm.zul.sector.ActivitySectorGrid;
26 import org.turro.elephant.context.ElephantContext;
27 import org.turro.i18n.I_;
28 import org.turro.jpa.grid.JpaGrid;
29 import org.zkoss.zul.Row;
39 "select tpoint from TouchPoint as tpoint " +
40 "order by tpoint.touchDegree, tpoint.name",
true);
57 addColumn(
I_.
get(
"Name"), String.class,
"name",
null, 0,
false,
false);
58 addColumn(
I_.
get(
"Degree"),
"int",
"touchDegree",
null, 0,
false,
false).setWidth(
"150px");
59 addColumn(
I_.
get(
"Ends sale"),
"boolean",
"endsSale",
null, 0,
false,
false).setWidth(
"150px");
60 addColumn(
I_.
get(
"Positive"),
"boolean",
"positive",
null, 0,
false,
false).setWidth(
"150px");
61 }
catch (ClassNotFoundException ex) {
boolean isValid(TouchPoint v)
void initiateRow(Row row, TouchPoint value)
static String logMsg(String msg)
static String get(String msg)
EditableColumn addColumn(String label, Class javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly)