on 08-04-2010 10:04 AM
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
}
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.