Class FormManager
java.lang.Object
org.nuxeo.ecm.webengine.forms.validation.FormManager
- All Implemented Interfaces:
InvocationHandler
,Form
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfields()
Get the form fields as submitted by the client.void
void
load
(FormDataProvider data, Form proxy) Before using the form, implementors must ensure this method is called to initialize form data, otherwise NPE will be thrown.static <T> T
-
Field Details
-
map
-
fields
-
unknownKeys
-
fd
-
forms
-
-
Constructor Details
-
FormManager
-
-
Method Details
-
unknownKeys
- Specified by:
unknownKeys
in interfaceForm
-
fields
Description copied from interface:Form
Get the form fields as submitted by the client. The fields are present even if the form is not valid -
load
Description copied from interface:Form
Before using the form, implementors must ensure this method is called to initialize form data, otherwise NPE will be thrown. This method must never be called by clients. It is internal to validation implementation and should be called only by implementors when creating a form.- Specified by:
load
in interfaceForm
- Parameters:
data
- the form data sourceproxy
- the proxy to the user form- Throws:
ValidationException
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
newProxy
-
flushCache
public void flushCache()
-