Package de.odysseus.calyxo.forms.misc

Examples of de.odysseus.calyxo.forms.misc.RequestInputValues


  /**
   * Validate form; input values are taken from the request.
   * @see org.apache.struts.action.ActionForm#validate(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)
   */
  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
      return validator.validate(mapping, request, new RequestInputValues(request));
  }
View Full Code Here


    log.debug("validating form for action '" + path + "'");
    Form form = formsSupport.getForm(request, path);
    if (form == null) {
      throw new ServletException("Cannot find form for action '" + path);
    }
    FormInputValues formParams = new RequestInputValues(request);
    FormResult result = form.validate(request, formParams);
    request.setAttribute(FormsSupport.FORM_RESULT_KEY, result);
    if (result.isValid()) {
      log.debug("valid: yes");
      FormProperties properties = formsSupport.getFormProperties(request, path);
View Full Code Here

TOP

Related Classes of de.odysseus.calyxo.forms.misc.RequestInputValues

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.