on 07-10-2008 10:35 AM
Hi everyone, I'm new to use web dynpro. Please allow me to ask you two conception questions.
1. In se80, what's the relations and the differences between "Component Interface", "Views", "Windows" and "Applications"?
2. In "Componentcontroller", "Windows" and "Views", they have several methods once an applications was created. But some of the methods are re-appeared. Does it need to complete all of thems?
1. In se80, what's the relations and the differences between "Component Interface", "Views", "Windows" and "Applications"?
Views is the place where you design your scree when you compare it with module pool it is like Sub Screen ( just for understanding )
Window is like your main screen inside which you place your Views
Component Interface comes into play when you want this component to be used in Another web dynpro component.( as the name it self defines it is an Interface )
2. In "Componentcontroller", "Windows" and "Views", they have several methods once an applications was created. But some of the methods are re-appeared. Does it need to complete all of thems?
Yes, there are methods these are called Hook methods( standard methods ) which are called at different stages when application is run.
First your component controller gets instantiated WDDOINIT of ComponentController is called first
then your window gets instantiated WDDOINIT of window gets called and then the View comes
Put a break point in each method and run your application and see how they are getting executed
http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/8acd409cc4dd50e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/45/c87f413e70010de10000000a1550b0/content.htm
Abhi
Edited by: Abhimanyu Lagishetti on Jul 10, 2008 11:43 AM
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 |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.