Package org.appng.api
Interface FormProcessProvider
-
public interface FormProcessProvider
When using the appNG-Taglibrary to define a HTLM-form inside a JSP, aFormProcessProvider
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 aFormDataBinder
for bindingForm
parameters to a target object.- Author:
- Matthias Müller
- See Also:
FormDataBinder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 currentEnvironment
site
- the currentSite
application
- the currentApplication
writer
- theWriter
of the calling JSP-page to write the response toform
- theForm
that was submittedproperties
- the properties which where used to configure the form
-
-