18 package org.turro.financials.portfolio;
20 import org.turro.command.CommandUtil;
21 import org.turro.financials.entity.Document;
22 import org.turro.financials.model.document.PortfolioErrorsSet;
23 import org.turro.zkoss.grid.PagingGrid;
24 import org.zkoss.zk.ui.ext.AfterCompose;
25 import org.zkoss.zul.*;
42 private void addColumns() {
44 columns.setVisible(
false);
47 Column column =
new Column(
"");
48 columns.appendChild(column);
56 private void addRows() {
59 for(Document d :
new PortfolioErrorsSet()) {
61 rows.appendChild(row);
62 Vlayout vbox =
new Vlayout();
63 row.appendChild(vbox);
64 vbox.appendChild(CommandUtil.getLinkOrSpace(d.getContract()));
65 vbox.appendChild(CommandUtil.getLinkOrSpace(d));
Columns getColumns(boolean create)
Rows getRows(boolean create)