18 package org.turro.elephant.zkoss;
20 import java.util.Collection;
21 import org.turro.command.CommandUtil;
22 import org.turro.i18n.I_;
23 import org.turro.zkoss.dialog.SelectionDialog;
24 import org.turro.zkoss.grid.PagingGrid;
25 import org.turro.zul.frame.Framework;
26 import org.zkoss.zk.ui.Component;
27 import org.zkoss.zk.ui.ext.AfterCompose;
28 import org.zkoss.zul.Row;
29 import org.zkoss.zul.Rows;
38 private Collection entities;
45 this.entities = entities;
48 private void addRows() {
52 if(rows !=
null) removeChild(rows);
57 for(Object ia : entities) {
61 row.appendChild(comp);
63 rows.appendChild(row);
80 dl,
"80%",
"80%",
null);
static HtmlBasedComponent getLink(Object entity)
static void showEntities(Collection< String > entitiesPath)
void setEntities(Collection entities)
static String get(String msg)
static void showComponent(Page page, String title, Component component, String width, String height, final Command command)
void setMaxResults(int maxResults)
void setRowCount(int rows)
static Framework getCurrent()