Monday, January 5, 2009

OA Framework - 1

Steps when referring to Anil Passi's tutorials:
1. Create or identify the schema / tables / views / procedures that the project will be based on.
Identify the ".dbc" file and copy to your local machine.
2. Open JDeveloper.
3. Create a New OA Workspace (.jws)
Note the Directory where you are saving the new worspace and the Workspace name.
Create a new Project and a new Package.
Use the desired .dbc file, provide username and password, Application name and Responsibility Key.
4. Create three Packages for schema.server, server and webui.
5. Create the Entity Object.
Entity Objects reside in schema.server package, hence use this suffix to the package name.
These link directly to the table / View , etc.
6. Create a View Object.
View Object are based on Entity object; hence it is available in its context menu.
Move this View object (once created) to server package.
7. Create Application Module on server package.
Attach the View Object to Application Module.
8. Create a New Web Tier --> OA Components --> Page in the webui package.
9. Rename and attach the Region created to the Application Module.
10. Create a sub region to the region in Step above for Query.
11. Within the region created above, create a new Sub Region using the Create Region Wizard.
Select the Application Module and the View Object for the Application Module that you want to use for displaying the search result.
Select the fields you want to display, and the form type to use to display (like input text, Text, etc).
Select the fields you want to be searcheable.
12. Rebuild the project and Run the page created.

No comments:

Post a Comment