Add Submit Button Using OA Framework Extension
Add Submit Button Using OA Framework Extension
Framework Extension
The purpose of this article is twofold
1. To understand one of the limitations of OA Framework personalization, in case you wish to add new “Submit
Button” to a page.
2. To explain, what exactly happens when a page in OA Framework gets Submitted
When working on OA Framework extensions, you may have a requirement to add a new Submit Button to the page.
This type of extension necessitates the need to extend the controller.
But using personalization, I can see the option to add a button using personalization on my instance!
Using personalization, you can add normal buttons, but not Submit Buttons.
ProcesFormData in Yes No
Controller is called. This
method fetches/sucks
the data from fields in the
screens and populates
the View Object Record
Attributes in cache.
Now, reverting back to underlined statement, if processFormData invokes validations, and if validations were to throw
an unhandled exception, then processForRequest will not be called. Hence execution will never reach
processFormRequest in case of validation failure. Given that we usually perform navigational actions within
processFormRequest, navigation to the next page will hence be stopped.