on 07-07-2008 5:13 AM
Hi Experts,
I want to know about the life cycle of webdynpro java application.
Thanks in advance
Thanks for providing your inputs...but if i am not wrong,when application loads at SAP WAS it executes wdDoInit() method of Component controller.
But my question is how control passes from wdDoInit() to the view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you are true.
What i told is high level control flow with in application.
You are talking about flow in View controller.
In View wdDoInit()+wdDoModify(). is executed simultaneously first time when view is called.
In total life span of application wdDoInit() is not called later on, wdDoModify() is executed instead every time view is called.
Rest all methods / actions are called accordingly
Mandeep Virk
Thanks for your answers but still my doubt has not cleared...
I want to know.. what happens exactly when you run webdynpro application and then how the internal flow works ,how control passes from controller to view etc..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When application is executed, Initially View controller is executed then Component controller and Interface Controller.
When data is mapped between two views through comp controller. it is comp controller which actually holds and pass data to both views to and fro. If context nodes are mapped to pass values then no matters View Controller Property is framework_controlled or when_visible. Application life span persists to time application is active.
NOTE: If node passing values is not actually bound to UI Elements in view but getting values from other node(s) to pass. then When_Visible property will work. Because controller is mapped to different node which is not displaying data in view.
Mandeep Virk
Hi see this link (Video Presentation) I hope it will be correct answer to your question
If you want anything further I will help you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
WebDynpro application life cycle is the time span for which data renders in application at run time.
It is of two types
1. Framework_controlled
2. When Visible
When life span property of view controller is Framework_controlled then application will take the age of controller.
Application data will last long up to time of controller have data.
Suppose you defined a context in Global Controller i.e Component Controller and similarly in two view controllers. this data is mapped between both views through Component controller. When you enter some data in input field of first view and navigate to second view and again come back to first view you will get same data in input field. This data will last long up to the time session of application is active. This is possible when View property is framework controlled.
In case of When Visible the life span of data is upto the life of view controller only. The time for which view is active data will be there. If you navigate to other view and come back this data will be refreshed. But this is the case when context is Not mapped with component controller.
Mandeep Virk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.