on 11-21-2006 9:55 AM
Hi,
I am trying communicate from Parent comp to child comp.
I would like to know few things here:
I created Node for the ParentComp,
In parent i want to use childcomp as a used comp, I declared in Parentcomp , child comp as used comp , my question is , do i need to create a context for the ChildCompoentController or ChildCompInterfaceController ?
If I need to create a context in childComp is it same as in ParentComp (I mean structure, naming,data types..)
Please clarify this.
Krish
Hi there,
The component interface controller context will be visible in the child node. so you need to create the context there. You can copy the same context to the comp controller and map it , and write the methods in the comp controller if you like, and in the interface controller all you do is to call the comp controller method.
In the child node, you can have diffrerent contexts, there is no restriction(It does not exactly work like inheritance in java classes if thats what you mean). Everything is controlled by context mapping. Usually, we create the same context and map it to interface controller, because its easy and there is uniformity. But your child node will have other contexts as well.
Hope that helps
LM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the tutorial on innerContext
http://help.sap.com/saphelp_nw04/helpdata/en/ad/920c40ac368f5ce10000000a155106/frameset.htm
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krish,
see my tutorials <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3">serverside Eventing Tutorial</a> and <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383">designing Component-Based Web Dynpro Applications (38)</a>.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.