on 08-20-2007 7:29 AM
Hi all,
I am confused regarding the execution flow.
we have "component controller" and "view controller" in a webdynpro component.
I have written some code in "wdDoInit" of "component controller" and in "wdDoInit" of "view controller" and in "wdDoModifyView" of "view controller" .
If I do "Deploy and Run " the application , Which one is executed first ,I mean how is the code processed ,where the control reaches first?
Thanks in advance.
Firstly component is loaded.
Hence wdDoInit of component controller is called.
Then when view display is requested wdDoInit of View controller is called.
Whenever display of view happens the wdDoModeifyView is called.
Hope it answers your question.
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In a web dynpro application there is always a interface view specified.
This interface view is associated with a window. The window has set of views with one as default view.
When Web Dynpro application is launched, the window is instantiated via interface view specified. The window after instantiation is rendered on the brower/some other UI client.
The window when instantiated will instantiate the default view also. So wdDoInit of view controller will be called now. Now if navigation happens to some other view in the window that particular view has to be instantiated. So the wdDoInit of that view will be called then.
Is your question answered ?
Regards,
Ashwani Kr Sharma
Hi Bharath,
1.any one of the method (wdinit(),etc)in component controller. we can use this method in any one of the view controller.
2. But view controller method used only that view only
component controller is acting as a central part into the view controller.
Regards,
P.Manivannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.