Create an ADF Master-Detail table
In the following section, we are going to create an ADF master detail table. The JSF page contains two elements, employee table, and an employee detail. When a user selects a row in the employee table, the details of the employee will be displayed in the form.
Employee EO/VO objects (Click here for the instruction to create Employee EO and VO objects)
ADF Master-Detail table:
Create a JSF page:
Right click o the WebContent >> Select New >> Select Page >> Input Page name >> Click Ok >> Te JSF page gets created and opened on the JDeveloper
The JSF page gets created and opened. Now expand the DataControl >> Drag the employeeDC and Drop it on the JSF page
Click the Structure tab >> Right click on the table >> Select Go to properties >> Expand Behavior >> Input Range size to 5 for good visibility
In the Crete Table wizard >> Enable Single Row >> Enable Sorting >> Enable Filtering >> Delete all columns except Id, FirstName, LastName >> Click Ok
The employee table gets created in the JSF Page. Now drag the same EmployeeEOVI from Data Control palette and Drop it on the JSF page below the table component but this time select Form.
In the ADF form wizard >> Enable Row Navigation >> Remove the fields ID, FirstName and LastName >> Click Ok >> Save All
Deploy the Application
Right click on the index.jsf page >> Select Run
The application gets deployed on the WebLogic Server and the index.jsf page opens in the browser. Now Select a record in the Employee Table, the form data shows the employee details automatically.That’s all about ADF master detail table.
Note: If it the first time you are running, then the Integrated WebLogic Server configuration wizard popups and ask for configuring.
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
Latest posts by Govind
- P6 Progress Reporter completely integrated into P6 Team Member - August 15, 2017
- Primavera P6 Professional for EPPM Popup 16.2 : The appropriate industry for your organization has not yet been select in admin preferences - August 15, 2017
- Primavera P6 Background Job Error:Creating job Symon Failed to add Database Job, Check the settings table for valid interval values for dbms_scheduler - August 14, 2017