Showing posts with label Call AppModule Method. Show all posts
Showing posts with label Call AppModule Method. Show all posts

Tuesday, 4 April 2017

Calling AmImpl Method from Managed Bean in ADF

To Call AmImpl Method from Managed bean use the following steps;

1) Create the Method in AmImpl class and Expose created method to Client interface by selecting Java tab from AppModule and click on client interface edit icon and move the method into client interface.








2) Write below code in your managed bean class to invoke method from AmImpl.

        OperationBinding ob = getBindings().getOperationBinding("submitEmp");
       ob.getParamsMap().put("<ParameterName>", <Value>); //set the input parameter if there is any else skip this step
        ob.execute();

Note: Make sure you have added same method in binding section of Jsf page (Page where you are referring above method to invoke)

Select Multiple values from LOV component (Choice List) on UI

There are scenarios where user wants to select multiple values from Input List of Values (LOV) component and store in DB column as comma se...