- Follow the post "How to create an Oracle ADF Fusion Web Application?", to create an application, change the application name and suffix.
- Now start creating view object.
- Now give the name of view object, Lets say "StaticListViewObject" and select the Data source as Static List. and click next.
- Now create attributes for this view object.
Lets Say "EmpId, EmpName and Age". These attributes are transient
attributes i.e the attribute which is created at view object level.
For this click on new and create attributes, then click next.
- Now for each attribute specify the constraints.and make each attribute as updatable to Always. and click next.
- Insert the rows for this attributes or import csv file if available.and click next
- If want to work with this view object on view layer then create view object instance on Application module impl xml file, and click next.
- Following structure of view object, and click finish.
- Static list View Object is created.
You will see that view object is available at data
control, that can be used to work on view layer.
- Lets test the view object.
Right click on AppModule file and run the model project.
0 comments:
Post a Comment