How to define default action/button for ADF page
There are many use cases where user wants the functionality to submit page at anytime not just click on the specific button.This is very common requirement where user filling the data and they want to form to be submit on "Enter Key Press" without moving the cursor to button and click on it.
Oracle ADF faces provide us the facility to define the default action for form. This functionality can be achieved using the .
Find below subform implementation:
In this above code defaultCommand="cb1" represent the default action for the form.
af:subform can be used multiple time to provide default action/command for different areas in single page.