Pre-response
Interface IPluginFormPreRespond
Use cases
- Displaying a blank response page
- Retrieving the response page from another web service
Method signature
IPluginFormPreRespondRetVal execute(IPluginFormPreRespondParams params) throws FCPluginException
Parameters
An object of type IPluginFormPreRespondParams will be passed to the execute method, providing access to an object of type IFormRequestContext. A form request context provides you with access to many properties of the submitted form, including:
- the current project (getProjekt())
- the current client ((getMandant())
- the current form record (getVorgang())
- the current version of the form and all form fields (getFormVersion())
- session attributes (getSessionAttributes())
- the current user context for access to the database (getUserContext())
Return value
The execute method must return an object implementing IPluginFormPreRespondRetVal.
The class PluginGenericFormProcessingRetVal provides a reference implementation. Its constructor takes the boolean flag continueProcessing.
true
The form will be processed further.false
The form will not be processed any further.