18 package org.turro.zkoss.input;
20 import java.util.LinkedList;
21 import org.zkoss.zul.Combobox;
22 import org.zkoss.zul.Constraint;
31 private boolean allowNotInModelValues =
false;
32 private V currentValue;
46 if(value ==
null && allowNotInModelValues && currentValue !=
null) {
55 Constraint c = getConstraint();
56 setConstraint((Constraint)
null);
63 return allowNotInModelValues;
67 this.allowNotInModelValues = allowNotInModelValues;
71 Constraint c = getConstraint();
72 setConstraint((Constraint)
null);
73 createModel(getText());
77 private void createModel(String value) {
80 public void populateList(String value, LinkedList list,
int nRows) {
88 public abstract void populateList(String value, LinkedList list,
int nRows);