on 04-27-2009 1:35 PM
Hello Friends,
I have created a method within the main view. Now the problem what I am having is how I can call
this method e.g. within WDDOINIT or ONACTIONSEND etc.
How dou you call such a method generally which you have created by yourself wihin other
method?
Regards
ertas
" Methods of view :
Wd_this->methodname( ). *OR* methodname( ).
" Methods of component controller :
wd_comp_controller->methodname( ).
Note: You can also pass parameters if any.
Regards,
Radhika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the method is within the same object (View or Controller), then just use WD_THIS->method name to call it. You can also use the code wizard to generate method calls. This is especially useful if calling a method that exists in the Component Controller from the View.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.