19 package org.turro.contacts.form;
21 import org.turro.contacts.Address;
22 import org.turro.contacts.Contact;
23 import org.turro.i18n.I_;
24 import org.turro.jpa.entity.EntityCollections;
25 import org.turro.zkoss.grid.CollectionGrid;
26 import org.turro.zkoss.grid.EditableCell;
27 import org.zkoss.zk.ui.HtmlBasedComponent;
28 import org.zkoss.zk.ui.ext.AfterCompose;
29 import org.zkoss.zul.Row;
40 this.contact = contact;
75 return super.createEditor(editableCell);
84 private void addColumns() {
86 "description",
null, 0,
false,
false).setWidth(
"200px");
88 "street",
null, 0,
false,
false).setHflex(
"3");
90 "zipCode",
null, 0,
false,
false).setWidth(
"150px");
92 "city",
null, 0,
false,
false).setHflex(
"1");
94 "province",
null, 0,
false,
false).setHflex(
"1");
96 "state",
null, 0,
false,
false).setHflex(
"1");
static String get(String msg)
static EntityCollections entities(Collection values)
void setCollection(Collection< V > collection)
EditableColumn addColumn(String label, Class javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly)
Object getCellValue(EditableCell editableCell)