| de.odysseus.calyxo.forms.FormInput
All known Subclasses: de.odysseus.calyxo.forms.impl.Input, de.odysseus.calyxo.forms.impl.Field,
format | public Object format(HttpServletRequest request, FormData bean) throws Exception(Code) | | Format property.
Parameters: request - the request we process Parameters: bean - form data if this is an array input, an array of strings; a string else throws: Exception - if form data access failes |
format | public String format(HttpServletRequest request, FormData bean, int index, String notAvailableResult) throws Exception(Code) | | Format indexed property.
Parameters: request - the request we process Parameters: bean - form data Parameters: index - index used to access property Parameters: notAvailableResult - returned if the property value is not available for the specified index formatted string throws: Exception - if form data access failes |
getName | public String getName()(Code) | | Get the input parameter name
|
isArray | public boolean isArray()(Code) | | True iff this input represents an array parameter
|
isIgnored | public boolean isIgnored(VariableResolver variables)(Code) | | Answer true iff the input should be "ignored".
For an ignored input, no validation is done at all.
Parameters: variables - the variable resolver true iff the input should be treated "ignored" if invalid. |
isRelaxed | public boolean isRelaxed(VariableResolver variables)(Code) | | Answer true iff the input should be treated "relaxed" if invalid.
This information may be used to suppress error messages for an input.
Parameters: variables - the variable resolver true iff the input should be treated "relaxed" if invalid. |
|
|