protected void nextValue(RefField field, Object value) {
   List values = field.getValues();
   Filter filter = null;
   try {
     filter = (Filter) values;
   } catch (ClassCastException e) {
   }
   if (filter != null) {
     filter.nextPage();
     field.resetValues();
   }
 }
 protected void previousValue(RefField field, Object value) {
   List values = field.getValues();
   Filter filter = null;
   try {
     filter = (Filter) values;
   } catch (ClassCastException e) {
   }
   if (filter != null) {
     filter.previousPage();
     field.resetValues();
   }
   //		System.out.println("PREVIOUS");
 }
 protected void findMoreValues(RefField field, Object value) {
   Event event = new Event(CteEvents.ON_SELECT_REF, field, field.getValue());
   org.zkoss.zk.ui.event.EventListener mainCtrl = ViewContext.getMainCtrl();
   try {
     mainCtrl.onEvent(event);
   } catch (Exception e) {
     throw new UiException(e);
   }
   //		System.out.println("MORE");
 }
 protected void normalValue(RefField field, Object value) {
   field.setValue(value, false);
 }