Professional Documents
Culture Documents
Ex:
Step3: Add a messageComponentLayout region under main region and add two text boxes under it.
Step3: Add a messageLayout region under messageComponentLayout region and add a submit
button under this region. (Observer Jdeveloper)
Select the snum item, add View Instance and View attribute properties
Select the sname item, add View Instance and View attribute properties
Step6: Write the Code in AM(AM is responsible for DB operations) to create a record in database
DataBaseAMIMpl.java
Import statement:
Step6: Set a new controller on main region to handle apply button and write the below code in
processFromRequest after super
DataBaseAMImpl am=(DataBaseAMImpl)pageContext.getApplicationModule(webBean);
am.create();
am.save();