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

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

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

Classes in org.barracudamvc.contrib.dbroggisch.repopulation that implement FormMap
 class ErrorFormMap
           
 class RepopulationFormMap
          The class RepopulationFormMap provides a convenient way to repopulate HTML form contents.
 

Methods in org.barracudamvc.contrib.dbroggisch.repopulation that return FormMap
 FormMap ErrorFormMap.validate(boolean deferExceptions)
           
 

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

Classes in org.barracudamvc.contrib.sam.xmlform that implement FormMap
 class XmlFormMap
          Provide a FormMap based on a XML description
 

Uses of FormMap in org.barracudamvc.core.forms
 

Classes in org.barracudamvc.core.forms that implement FormMap
 class DefaultFormMap
          This class provides the default implementation of a FormMap.
 

Fields in org.barracudamvc.core.forms declared as FormMap
protected  FormMap DefaultFormElement.parent
           
 

Methods in org.barracudamvc.core.forms that return FormMap
 FormMap DefaultFormElement.getParentForm()
          Get the parent form map
 FormMap FormElement.getParentForm()
           
 FormMap FormMap.map(javax.servlet.ServletRequest req)
           
 FormMap DefaultFormMap.map(javax.servlet.ServletRequest req)
          This is where we actually take an incoming form (in the form of a ServletRequest) and map it using the definitions supplied by all the FormElements.
 FormMap FormMap.map(StateMap map)
           
 FormMap DefaultFormMap.map(StateMap map)
          This is where we actually take an incoming form (in the form of a StateMap) and map it using the definitions supplied by all the FormElements.
 FormMap DefaultFormMapper.mapForm(FormMap fm, Map paramMap)
          Map a whole form
 FormMap FormMapper.mapForm(FormMap fm, Map paramMap)
           
 FormMap FormMap.validate(boolean deferExceptions)
           
 FormMap DefaultFormMap.validate(boolean deferExceptions)
          Validate the entire form (both form level and elements).
 FormMap FormMap.validateElements(boolean deferExceptions)
           
 FormMap DefaultFormMap.validateElements(boolean deferExceptions)
          Validate just the elements (not the form)
 FormMap FormMap.validateForm(boolean deferExceptions)
           
 FormMap DefaultFormMap.validateForm(boolean deferExceptions)
          Validate just the form (not the individual elements)
 

Methods in org.barracudamvc.core.forms with parameters of type FormMap
protected  Object DefaultFormMapper._mapElement(FormMap fm, FormElement element, Object origVal)
          Actually map a value to a form element.
 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)
           
 FormMap DefaultFormMapper.mapForm(FormMap fm, Map paramMap)
          Map a whole form
 FormMap FormMapper.mapForm(FormMap fm, Map paramMap)
           
static void FormUtil.repopulate(FormMap fm, BComponent bcomp)
          Given a BComponent and a reference to a FormMap, this method will automatically repopulate the form value into the component.
 FormElement DefaultFormElement.setParentForm(FormMap iparent)
          Set the parent form map
 FormElement FormElement.setParentForm(FormMap iparent)
           
 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.validateForm(FormMap map, boolean deferExceptions)
          Validate an entire FormMap.
 void DefaultFormValidator.validateFormElement(Object val, FormElement element, FormMap map, boolean deferExceptions)
          Validate a FormElement.
 

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

Methods in org.barracudamvc.core.forms.validators with parameters of type FormMap
protected  void LinkingValidator._checkFields(FormMap map, String ikeyField, String[] ifields, boolean deferExceptions)
           
 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 LinkingValidator.validateForm(FormMap map, boolean deferExceptions)
           
 



Copyright © 2006 BarracudaMVC.org All Rights Reserved.