on 04-16-2008 9:52 PM
Hi,
I got a simple question.
How to call WDDOINIT inside a method/action.
Normally to call a method we use wd_this->methoname( ).
But in WDDOINIT how do we call?
Thanks,
Hi,
No you can not call WDDOINIT method explicitly.It gets automatically called. If you want to check order of execution , put some statements in this method and debug.
Reward if Useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a kind of hook method & it's execution sequence is first than the other customized methods. And calling it once again in other method seems to useless...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suba,
WDDOINIT is a predefined hook method and is called automatically by the webdynpro framework.
It is not meant to be called by an application developer. If some part of the code in this method is to be used somewhere else, create another method to incorporate that reusable code and call that method wherever required.
Regards,
Chitrali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As it is the hook method you cannot call again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a hook method which is called automatically. Why would you want to call it again from within another method? Better is to create a method within WDDOINIT which you can call from another method.
Don't think it is advisable to call WDDOINIT from anywhere else in your WD application / component.
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.