Using an application module function to initialize a page

A common use case when developing an ADF Fusion web application is to perform some sort of initialization before a particular page of the application is shown. Such an initialization could be: the creation of a new view object row, which will in effect place the view object in insert mode; the execution of a view object query, which could populate a table on the page; the execution of a database stored procedure; or something similar. This can easily be accomplished by utilizing a method call activity.

In this recipe, we will demonstrate the usage of the method call task flow activity by implementing the familiar use case of placing a web page in insert mode. Before the page is presented, ...

Get Oracle JDeveloper 11gR2 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.