org.appng.api

## Interface FormProcessProvider

-     public interface FormProcessProvider

  When using the appNG-Taglibrary to define a HTLM-form inside a JSP, a `FormProcessProvider` is used to handle the submitted data. It can write to a database, send an email or whatever else you want to do with the form data.
  Consider using a `FormDataBinder` for binding `Form` parameters to a target object.
  Author:
    Matthias Müller
  See Also:
    `FormDataBinder`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onFormSuccess(Environment environment, Site site, Application application, Writer writer, Form form, Map<String,Object> properties)` This method is being called after a Form has been successfully submitted.

- - ### Method Detail

    - #### onFormSuccess

          void onFormSuccess(Environment environment,
                             Site site,
                             Application application,
                             Writer writer,
                             Form form,
                             Map<String,Object> properties)

      This method is being called after a Form has been successfully submitted.
      Parameters:
        `environment` - the current `Environment`
        `site` - the current `Site`
        `application` - the current `Application`
        `writer` - the `Writer` of the calling JSP-page to write the response to
        `form` - the `Form` that was submitted
        `properties` - the properties which where used to configure the form

Copyright © 2011–2023 aiticon GmbH. All rights reserved.