cancel
Showing results for 
Search instead for 
Did you mean: 

Subscribe to an action

Former Member
0 Kudos

Hi

how can i call an action defined for some other event in anay method , e;g i have an action define OnActionget_details and i want to call it in the method get_vendor_name

can i use the below code but what shd be parametrs in it

method get_vendor_name

{

//

//

this.getOnActionget_details(?)

(what parameters hd i pass here ), both method and action are in same view

}

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

This cannot be done.

A workaround is,

Step 1.create a method,

Step 2. copy the code written in the action to this method.

Step 3. Call this method in the action as well as in other places wherever you want to access it.

Thanks and Regards,

Shyam.