| java.lang.Object de.odysseus.calyxo.struts.forms.FormsDelegate
FormsDelegate | public class FormsDelegate implements Serializable(Code) | | This class performs the form validation.
author: Christoph Beck |
createActionMessage | protected ActionMessage createActionMessage(HttpServletRequest request, Locale locale, I18nSupport i18n, Message message)(Code) | | Transform a calyxo message into a struts action message.
Calyxo messages and struts action messages differ in that
calyxo messages may specify a bundle name.
If the calyxo message specifies a bundle, this method will
format the message and produce a struts action message
with key "" and the formatted message string
as argument.
Parameters: request - the request we're in Parameters: locale - the desired locale Parameters: i18n - 18n support instance Parameters: message - the message to be transformed a struts action message |
validate | public ActionErrors validate(ActionMapping mapping, HttpServletRequest request, FormInputValues inputs)(Code) | | Validate the properties that have been set for this HTTP request,
and return an ActionErrors object that encapsulates any
validation errors that have been found. If no errors are found,
return null or an ActionErrors object with
no recorded error messages.
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing |
|
|