Loading...

using Effective Parent Action Activity in Oracle ADF

Here in this post I am explaining the way of Using Parent Action Activity. Using Parent Action client taskflow can call the activity defined in parent task flow.

This sample application is developed using Hr database, bounded taskflow, control-flow-case, Read only View Object.

Steps to create sample Application

Create a Generic Application provide application name as ParentAction.
Create a Project with name ParentAction
Select ADF Faces, ADF page flow, Java, ADF Business component as Project Technology
Create Business Component from table
Define connection to database using "Hr" schema
Create read-only view object for Employee and Department

Define bounded taskflow

Define bounded parent action taskflow
  • Create a taskflow with and ParentActionTasskFlowDefn.xml
  • Added ViewActivity like EmployeeView and DepartmentView
Parent Action Activity
  •  Define control flow for Employee and Department view
  •  add jsff pages for each ViewActivity.
Define Child taskflow 
  • Create a new taslfkow name department-task-flow-definition.xml
  • Add view activity with name of department
  • add parent action
  • define control flow between view and parent action activity
  • add page to view activity
  • Drag drop department view from data control to screen and design page with navigation button
  • Add new button to page, in action of button select the control flow name define in department -task-flow-definition.xml
  •  select the parent action update the parent action property to control flow name defined in parent taskflow i.e. ShowEmployee
Oracle ADF Parent Action
 (Repeat same steps for defining Employee child task flow) 

Design the page used in view activity
Drag drop the corresponding taskflow to jsff page used as a view activity in ParentActiontaskFlowDefn.xml

Add lending page
 
Add the jspx page to application. drag drop ParentActiontaskFlowDefn as region to jspx. Run the application and test it
VirtualNuggets 2732609105521792480

Post a Comment

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi,
    I found the article plainly considerable and the information published by you might benefit innumerable learners. Continue sharing this beneficial guidance and keep sharing.
    Thanks!

    Best Oracle Training Institute

    Best Oracle Training Institute

    ReplyDelete
  3. Thanks a lot for sharing a great blog I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more keep going on it helped me a lot I have gained a lot of knowledge by reading your blog.

    oracle adf training
    oracle adf online training
    oracle adf 11g training
    Oracle adf 12c training
    oracle adf training online

    ReplyDelete
  4. My spouse and I love your blog and find almost all of your posts to be just what I’m looking for. Appreciating the persistence you put into your blog and the detailed information you provide. I found another one blog like you Oracle ADF.Actually I was looking for the same information on internet for Oracle Application Development Framework and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.

    ReplyDelete
  5. SSL Certificate are what enable websites to use HTTPS, which is more secure than HTTP.

    ReplyDelete
  6. Our Solusvm Server Management system are designed to deliver everything from installation to migration, optimization and troubleshooting.

    ReplyDelete

emo-but-icon

Home item

Popular Posts

Random Posts

Flickr Photo