on 04-06-2009 4:00 PM
Hi
As we know that we can access Component Context Attribute by Component Controller in view as:
wdThis.wdGet<Component_Name>Controller().wdGetContext().currentContextElement().
get<Component_Context_Attribute>
whereas wdThis.wdGet<Component_Name>Controller() is the Component Controller.
So, in the same way, I was just wondering do we have any way to access the View Context through View Controller.
Generally for view context, we use wdContext which is (= wdThis.wdGetContext() ) means accessing view context thr' view.
i want to access View context thr' View Controller which is wdThis.wdGetAPI().
Thanks....
Hi
Get the detailed description and understanding of these webdynpro jorgens from [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ba2c45-0518-2a10-73be-9b785e10aef1]
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the generated controller class, there exist a shortcut wdContext to access the context. You just use
wdContext.currentContextElement.getAttributeXYZ()
etc.
Armin
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 | |
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.