Package de.odysseus.calyxo.forms

Examples of de.odysseus.calyxo.forms.FormProperties


    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response) throws Exception {

    FormsSupport support = FormsSupport.getInstance(request);
    FormProperties properties =
      support.getFormProperties(request, mapping.getPath());
    properties.commit();

    return new ActionForward(mapping.getInput());
  }
View Full Code Here


    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);
      if (properties != null && commit) {
        properties.commit();
      }
      return command.execute(request, response);
    } else {
      log.debug("valid: no");
      messageSupport.setErrors(request, result.getMessages());
View Full Code Here

   */
  public final DispatchConfig execute(
    HttpServletRequest request,
    HttpServletResponse response) throws Exception {
    // dig for our validated form properties
    FormProperties properties = formsSupport.getFormProperties(request, getActionConfig().getPath());
    return execute(request, response, properties);
  }
View Full Code Here

TOP

Related Classes of de.odysseus.calyxo.forms.FormProperties

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.