« How-to open an input form in a popup launched from a detailStamp facet of a table | Main | How-to declaratively launch a lightweight popup in a UI Shell »
JDeveloper 11g R1 PS1 New Feature: Launching DHTML popup dialogs using the external dialogframework
By frank.nimphius | November 13, 2009
A new feature added in JDeveloper 11g R1 PatchSet 1 is the ability to display the AD Faces external dialog framework as an inline DHTML dialog. This allows developers to specify navigation cases using the “dialog:” pre-fix that are then opened in an inline popup. The external dialog window functionality of using a launch and return listener for the parameter and value exchange between the calling page and the dialog page is preserved.
A common design pattern in Fusion development is to launch the content of a bounded task flow in a dialog, which in JDeveloper 11g, until Patch set 1, required developers to use an ADF region in an af:popup component, which they controlled by JavaScript and Java. Using the new external dialog behavior of ADF Faces, regions are no longer required to display bounded task flows in an inline dialog.
In the Camtasia recording I did, the new feature is explained by example of a bounded task flow that has a single JSPX page to display. A parent page launches the dialog to show employee details in the dialog to further drill down into employee details (or to update the employee record, which is not what the demo shows).
Both option, the implementation pattern using ADF regions with page fragments, as well as the implementation using the new external dialog feature and JSPX pages have their use cases and therefore can coexist in ADF applications. However, using the external dialog window to call abounded task flow through the task flow call activity, is purely declarative and therefore feels more developer friendly.
Frank
Topics: ADF Faces RC, Taskflow | No Comments »
Comments are closed.
