1 16 package org.apache.cocoon.forms.formmodel; 17 18 23 public class MultiValueFieldDefinition extends FieldDefinition { 24 public Widget createInstance() { 25 MultiValueField field = new MultiValueField(this); 26 return field; 27 } 28 29 32 public void checkCompleteness() throws IncompletenessException { 33 super.checkCompleteness(); 34 } 35 36 public void setRequired(boolean required) { 37 throw new UnsupportedOperationException ("The property 'required' is not available on widgets of type multivalue."); 38 } 39 } 40 | Popular Tags |