Uses of Interface
org.barracudamvc.core.forms.FormElement

Packages that use FormElement
org.barracudamvc.contrib.dbroggisch.repopulation   
org.barracudamvc.contrib.sam.data   
org.barracudamvc.contrib.sam.xmlform   
org.barracudamvc.core.forms   
org.barracudamvc.core.forms.validators   
 

Uses of FormElement in org.barracudamvc.contrib.dbroggisch.repopulation
 

Classes in org.barracudamvc.contrib.dbroggisch.repopulation that implement FormElement
 class CheckboxFormElement
           
 class GroupFormElement
           
 class SelectFormElement
          Use this FormElement to repopulate the request value into a select box created by the <select>-tag.
 class TextAreaFormElement
           
 

Methods in org.barracudamvc.contrib.dbroggisch.repopulation that return FormElement
 FormElement RepopulationFormMap.defineElement(FormElement element)
           
 FormElement RepopulationFormMap.defineElement(String key, FormElement element)
           
 

Methods in org.barracudamvc.contrib.dbroggisch.repopulation with parameters of type FormElement
 FormElement RepopulationFormMap.defineElement(FormElement element)
           
 FormElement RepopulationFormMap.defineElement(String key, FormElement element)
           
 void SelectFormValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 

Uses of FormElement in org.barracudamvc.contrib.sam.data
 

Classes in org.barracudamvc.contrib.sam.data that implement FormElement
 class UploadElement
           
 class UploadLinkElement
           
 

Methods in org.barracudamvc.contrib.sam.data that return FormElement
 FormElement UploadElement.setOrigVal(Object iorigVal)
          since File Upload elements don't support preset values, this method does nothing
 

Methods in org.barracudamvc.contrib.sam.data with parameters of type FormElement
 void UploadLinkElement.setIdFormElement(FormElement idEle)
           
 void RegexValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure a given pattern is matched Validation is only supported for FormType.STRING
 

Uses of FormElement in org.barracudamvc.contrib.sam.xmlform
 

Methods in org.barracudamvc.contrib.sam.xmlform with parameters of type FormElement
protected  void XmlFormMap.initFormElement(DataObject dataObject, Element ele, FormElement fe)
          set the orig value of a formelement by retrieving
 

Uses of FormElement in org.barracudamvc.core.forms
 

Classes in org.barracudamvc.core.forms that implement FormElement
 class DefaultFormElement
          A FormElement defines how an element in a FormMap should be mapped to a first class java object.
 

Methods in org.barracudamvc.core.forms that return FormElement
 FormElement FormMap.defineElement(FormElement element)
           
 FormElement DefaultFormMap.defineElement(FormElement element)
          This defines an element to be mapped by this form, using the key from the FormElement.
 FormElement FormMap.defineElement(String key, FormElement element)
           
 FormElement DefaultFormMap.defineElement(String key, FormElement element)
          This defines an element to be mapped by this form, using a manually specified key.
 FormElement FormMap.getElement(String key)
           
 FormElement DefaultFormMap.getElement(String key)
          Get an element by key
 FormElement UIDFormMapper.getElementByUID(FormMap fm, String subKey, String uid)
           
protected  FormElement PrefixFormMapper.getElementForMapping(FormMap fm, String paramKey)
           
protected  FormElement UIDFormMapper.getElementForMapping(FormMap fm, String paramKey)
           
protected  FormElement DefaultFormMapper.getElementForMapping(FormMap fm, String paramKey)
          This method is used by the mapping process to look up FormElements.
 FormElement PrefixFormMapper.mapElement(FormMap fm, String key, Object origVal)
          Map an individual element
 FormElement DefaultFormMapper.mapElement(FormMap fm, String key, Object origVal)
          Map an individual element
 FormElement FormMapper.mapElement(FormMap fm, String key, Object origVal)
           
 FormElement FormMap.mapElement(String key, Object origVal)
           
 FormElement DefaultFormMap.mapElement(String key, Object origVal)
          Map an individual element by specifiying the key and origVal.
 FormElement DefaultFormElement.setAllowMultiples(boolean val)
          Set whether or not this element allows multiple values
 FormElement FormElement.setAllowMultiples(boolean val)
           
 FormElement DefaultFormElement.setDefaultVal(Object idefaultVal)
          Set the default value for this form element
 FormElement FormElement.setDefaultVal(Object defaultVal)
           
 FormElement DefaultFormElement.setFormat(Format iformat)
          Set the Format object for this element (null indicates default formatting)
 FormElement FormElement.setFormat(Format iformat)
           
 FormElement DefaultFormElement.setKey(String ikey)
          Set the key value for this form element
 FormElement FormElement.setKey(String key)
           
 FormElement DefaultFormElement.setName(String iname)
          Set the name of this form element
 FormElement FormElement.setName(String name)
           
 FormElement DefaultFormElement.setOrigVal(Object iorigVal)
          Set the original value for this element
 FormElement FormElement.setOrigVal(Object iorigVal)
           
 FormElement DefaultFormElement.setParentForm(FormMap iparent)
          Set the parent form map
 FormElement FormElement.setParentForm(FormMap iparent)
           
 FormElement DefaultFormElement.setParseException(ParseException ipe)
          Set the parse exception associated with this element
 FormElement FormElement.setParseException(ParseException pe)
           
 FormElement DefaultFormElement.setType(FormType itype)
          Set the FormType for this form element
 FormElement FormElement.setType(FormType type)
           
 FormElement DefaultFormElement.setVal(Object ival)
          Set the value for this element
 FormElement FormElement.setVal(Object ival)
           
 FormElement DefaultFormElement.setValidator(FormValidator ivalidator)
          Set the FormValidator for this form element
 FormElement FormElement.setValidator(FormValidator validator)
           
 

Methods in org.barracudamvc.core.forms with parameters of type FormElement
protected  Object DefaultFormMapper._mapElement(FormMap fm, FormElement element, Object origVal)
          Actually map a value to a form element.
 FormElement FormMap.defineElement(FormElement element)
           
 FormElement DefaultFormMap.defineElement(FormElement element)
          This defines an element to be mapped by this form, using the key from the FormElement.
 FormElement FormMap.defineElement(String key, FormElement element)
           
 FormElement DefaultFormMap.defineElement(String key, FormElement element)
          This defines an element to be mapped by this form, using a manually specified key.
static String FormUtil.formatForOutput(Object val, FormElement el)
          Convenience method to format form values in a friendly manner (based on their data type) that will allow for later reparsing
 boolean FormValidator.isNull(Object val, FormElement element)
          Check if val passed is null in a consistant manner.
 boolean AbstractFormValidator.isNull(Object val, FormElement element)
          Check if val passed is null in a consistant manner.
 void FormValidator.validate(FormElement element, FormMap formMap, boolean deferExceptions)
          Validate a FormElement locally and allow any child validators a chance to validate as well.
 void Not.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we instead validate the validator we contain--because this validator is effectively doing a "NOT", we expect to receive a ValidationException; if we dont, then we will throw a ValidationException
 void DefaultFormValidator.validate(FormElement element, FormMap map, boolean deferExceptions)
          Validate a FormElement locally and allow any child validators a chance to validate as well.
 void And.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we make sure at least one of the sub-validators is valid
 void Or.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we make sure at least one of the sub-validators is valid
 void DefaultFormValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement.
 void DefaultFormValidator.validateFormElement(Object val, FormElement element, FormMap map, boolean deferExceptions)
          Validate a FormElement.
 

Constructors in org.barracudamvc.core.forms with parameters of type FormElement
DefaultFormElement(FormElement feSource)
          Public constructor
 

Uses of FormElement in org.barracudamvc.core.forms.validators
 

Methods in org.barracudamvc.core.forms.validators with parameters of type FormElement
 void ValidatorListValidator.validate(FormElement element, FormMap map, boolean deferExceptions)
           
 void ListValidator.validate(FormElement element, FormMap formMap, boolean deferExceptions)
          Will check origVal's type and loop through all the values calling the subValidator.
 void DateValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the value is a valid date Validation is not supported for FormType.BOOLEAN FormType,INTEGER FormType.LONG FormType.SHORT FormType.DOUBLE FormType.FLOAT
 void MinLengthValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the length of element is not less than a Min length.
 void EqualsValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void RangeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void DateRangeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void EmailValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 void FriendlyValidTypeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 void CardinalityValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the number of values is in the specified range
 void RegularExpressionValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 void DigitValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void ValidTypeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure that the non-null orig values are valid for the specified element type
 void NotNullValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure that it is not Null or blanks.
 void MaxLengthValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the length of element does not exceed a Max length.
 



Copyright © 2006 BarracudaMVC.org All Rights Reserved.