18 package org.turro.financials.account;
20 import org.turro.string.Strings;
21 import org.turro.financials.db.FinancialsPU;
22 import org.turro.financials.entity.Account;
23 import org.turro.i18n.I_;
24 import org.turro.jpa.grid.JpaGrid;
25 import org.zkoss.zul.Row;
35 "select account from Account as account " +
36 "order by account.id",
true);
42 if(value ==
null) value =
new Account();
49 return !Strings.isBlank(v.
getId()) &&
53 private void addColumns() {
55 "id",
null, 0,
false,
false).setWidth(
"120px");
57 "description",
null, 0,
false,
false);
void initiateRow(Row row, Account value)
boolean isValid(Account v)
static String get(String msg)
EditableColumn addColumn(String label, Class javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly)