Skipping validation
Support for skipping validation by a framework is as important as support for triggering validation. You might want to skip validation under certain circumstances. For example, skip validation when the user clicks the Cancel button on the page to undo the changes. The following are the offerings from Oracle ADF for skipping validations.
Skipping validations in the ADF Faces layer
ADF Faces allows you to alter the normal
processing sequence for command components and input components using the immediate
attribute. This property is in fact inherited from the underlying JSF stack. You can use this property to skip validation cycles as explained here:
When you set
immediate
property totrue
for a command component, the framework will execute the associatedactionListener
oraction
method during the Apply Request Values phase, which otherwise would have happened during the Invoke Application phase. After the "immediate" execution of an action event, if there are no input components...