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 ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.