You need to sign in to do that
Don't have an account?
Salesforce Report Issue
Need Help . How to call multiple actions from the same visualforce page action attribute
Hi All ,
I need urgent support . Please help me to resolve the issue .
In Visualforce page , is there any way to call the action attribute with two or more methods as like below
<apex:page standardController= 'Account' , controller ='DemoReportClass' action="{!method1},{!method1}" >
or any appropriate approaches to call the muliple methods ?
Please help me ASAP .
Thanks ,
Raj
In your controller, you could make a method like this.
public PageReference callTwoMethods() {
methodOne();
methodTwo();
return null;
}
Set your page tag to this.
<apex:page controller="DemoReportClass" action="{!callTwoMethods}">
Hope that helps,
~ Clint
Hi Clint ,
Thanks for the Solution ...
That issue has resolved .
Thanks ,
Raj
I have the similar requirement. How did you implement this?