19 package org.turro.entities;
21 import java.util.LinkedList;
22 import java.util.logging.Level;
23 import java.util.logging.Logger;
24 import org.turro.collections.parser.ParserException;
25 import org.turro.string.Strings;
26 import org.turro.collections.KeyValueMap;
27 import org.turro.elephant.context.ElephantContext;
28 import org.turro.zkoss.input.GenericCombobox;
29 import org.zkoss.zul.Comboitem;
38 private KeyValueMap kvm;
50 this.kvm =
new KeyValueMap(values);
51 }
catch (ParserException ex) {
57 public void populateList(String value, LinkedList list,
int nRows) {
58 if(!Strings.isBlank(root)) {
71 public void render(Comboitem item, Object data,
int index)
throws Exception {
72 super.render(item, data, index);
74 if(!Strings.isBlank(img)) item.setImage(img);
79 return ee !=
null ? ee.
getPath() :
null;
static String logMsg(String msg)
static IElephantEntity getController(String path)
static Collection< Object > getEntities(String search, int maxResults)
void populateList(String value, LinkedList list, int nRows)
String getTextFromObject(Object value)
void setController(IElephantEntity entity)
void setParameters(String values)
void setEntity(Object entity)
IElephantEntity getController()
void setParameters(KeyValueMap kvm)
void render(Comboitem item, Object data, int index)
void setRoot(String root)
void setEntityPath(String entityPath)