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");
 }