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, a custom application module method (implemented in another workspace) will be called to place the view object in insert mode.
Getting ready
You will need a skeleton Fusion Web Application (ADF) workspace created before you proceed with this recipe...