| Home |
| Technical Articles |
| Training Articles |
| Receive Email for New Articles |
| Contributors |
| Hands-On-Training |
| Apps Book |
| OA Framework Training Tutorials 04 | | Print | |
| Written by Anil Passi | |
| Thursday, 12 July 2007 | |
|
In this tutorial, we will see how a record in a table can be modified using OA Framework screen. The video tutorial will be followed by the instructions to deploy these set of Tutorials on Oracle EBS. Following change will be done to the screen in previous tutorial 1. Add a Link for update to the search result. This link will fire an action named updatePerson. Also, this link will pass a parameter named paramPersonId to the pageContext of Controller Class. 2. When this link is clicked, then processFormRequest(PFR) of the controller will be called in the main page. 3. From the PFR of CO, call another screen named managePersonPG, by retaining the AM. Note:- this is the same screen that we called for insert/creation functionality in previous tutorial. 4. The navigation now moves to managePersonPG screen, and the Controller method processRequest of managePerson screen will now be called. Note:- Remember that processRequest is called as just prior to the page renders/displays in browser. 5. In processRequest of managePersonPG screen, we will initiate an executeQuery on the viewObject, after setting its where clause. The result of this action is to make the record being updated to be queried automatically. 6. On managePerson screen, a button named apply changes will be available. 7. After modifying data, user will click apply now, hence invoking processFormRequest. From processFormRequest, we will call a method in AM, that will commit the transaction. 8. We navigate back to the mainPage i.e. xxPersonMainPG When a commit takes place, how does OA Framework know whether an insert or update must be done? When the record being queried is changed by user, that will change the status of the record to dirty. Hence when commit takes place, Framework will know an update is required rather than an insert. What are the steps in tutorial? 1. Create a link for update. In the mainPage's CO, inside PFR, handle the click of update Person. Call managePerson page, passing it parameter named xxParamPersonId[of record being updated] and xxParamActionOnPerson[=updatePerson, from fireAction property] 2. Set a new controller for this new page In PR(processRequest) of the managePersonCO, call an AM method to query the PersonId being updated. Note:-in previous tutorial, we added a button, and program for PFR in new controller, so that commit can be initiated via AM. This commit button is retained as is for this tutorial 3. Redirect back to the original main page, once the commit has taken place 6. Test this CLICK HERE TO VIEW THE VIDEO LINK OF THIS TUTORIAL Click here to download the source code for Tutorial 1,2,3,4 The project can be deployed to Oracle EBS, by implementing instructions below. Comments
(12)
i am new to this area.
i have completed all these 4 step tutorial and completed this project. The project is running nicely in Jdeveloper. But when i transfer it to the Oracle apps it started problem. The first page(person details page) is running nicely and the delete function is working but when i go to the update or creation page after update or create and when i press commit it shows oracle.apps.fnd.framework.OAException: No data found for region (gpt/oracle/apps/ak/gpperson/webui/gp2personMainPG) Exception: oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = gpt/oracle/apps/ak/gpperson/webui/gp2personMainPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository. Although the updated data is entered in table but transition to the first page is not happening. I have imported the two xml file to MDS according to your deployment tutorial. I have also tried the import command with includeSubpackages option. please help me in this regard.
i have already run the
jdr_utils.listdocuments('/gpt/oracle/apps/ak/gpperson', TRUE); and found my two xml files there. /gpt/oracle/apps/ak/gpperson/webui/managePersonPG /gpt/oracle/apps/ak/gpperson/webui/gp2personMainPG But the saome problem exist. please help me any other solutions
hi anil,
I am new to discoverer plesae help me providing some material and working procedures regarding it.
hi anil,
where can i find the material regarding om module,APIS related to om. please help me in this Thanks, BHANU.
hi anil,
I am working on oracle apps 11i(11.5.10.2) .The project has lots of extensibility issues, for that we would be using Jdeveloper, for the same i have couple of queries: 1.The version of the jdeveloper which would best suit oracle apps 11i(11.5.10.2). 2.How to decide on the model issue? ( i.e jsp strut bc4j or jsp no strut bc4j etc.)
I hav completed the first 4 tutorials.those are running fine in jdeveloper.but when i deploy it on oracle apps..the search page is running fine but if i call the create or update then insert n update page is not called...also there is no error shown(at the click of create or update person the search page is reloaded).....pls help to solve this problem.......
Hi Anil,
Can u plese let me knwo how we can call a workflow from the click of a button on a custom Framework page. Thanks! Deepak... You must be logged in to a comment. Please register if you do not have an account yet.
|
I am new to OA Framework.
Once you download the Source code of tutorial 1,2,3,4. how do i open it in Jdeveloper?
Like in Forms D2K, you can ftp any .fmb file and then open in Form Builder.
In the same way do we also have .jws file?
Thanks,
Prashanth