Executing bind variable from Application module in ADF – Techartifact

Requirment- To execute the bind variable from application module- Or executing view criteria on page load

Solution- Assumption that you created a view object and view criteria .Now you have bind variable in view criteria.
You are passing the value using some managed bean stored in some scope.

Open the application module and go to data model .Select the the view object in which view criteria is this.Click on edit.

In the edit view instance dialog box.select the view criteria and shuttle to the right.now in the bind parameter value ,open the expression builder
and put right value like – “adf.context.sessionScope.LabelTemplate.taskId” .Here LabelTemplate is managed bean stored in session scope.

That all. Now run the page where you using view object.and page will load with result of bind variable.But note you cant use this VO anywhere where you don’t need a bind variable.

Enjoy coding with techaritfact