on 10-08-2008 11:20 AM
Hi SAP developers,
I need somebody with a lot of WebDynpro experience. My question is the following: Under what conditions is it advisable to map context nodes/conetx attributes and when should I use the construct wdThis.wdGetTestComp().wdGetContext()....?
Greets Ruben
Hi Ruben,
You can do everything with mapped context nodes/context attributes that you can do with wdThis.wdGetTestComp().wdGetContext()....
( i.e. accessing the context programmatically )
But you can not do everything with wdThis.wdGetTestComp().wdGetContext().... that you can do with
mapped context nodes/context attributes (e.g context binding to UI)
Other than I have not encountered any specific usage difference.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
suppose if u want have 2 views,
and u want t o display(or use) the content of first view in the second view
then u have to map the context of the first view to the context of the component controller
then u have to map the context of the second view also to the component controller..
what exactlu happening here is,
u are placing the attributes of the view in a global context(i,e component controller context)
as u cannot access the values of one view in another directly ..
coming to the code u have written,
u write this code when u want to get or set the atribute values in the component controller's context.
Regards,
Satya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruben,
Just go through this link it has details explanations
http://help.sap.com/erp2005_ehp_03/helpdata/EN/d7/e551cf896c3a49bb87bb4ce38c99c8/frameset.htm
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.