Package de.odysseus.calyxo.forms

Examples of de.odysseus.calyxo.forms.FormProperties.commit()


    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


    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

TOP
Copyright © 2018 www.massapi.com. 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.