on 04-22-2010 11:11 AM
Hi Experts,
I have one application in which I am opening Pop-up window on button click. My Requirement is to access context node of parent view.
Could you please give me any idea about "How to access context node of parent view from pop-up window".
And also pop window has one more button , clicking on which i want close pop-up window. I don't want to use predefined buttons.
Thanks,
Prashant
If you don't want to use component controller, you can put attribute o_view_context into assistance class
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Create a attribute in component controller. type ref to if_wd_context_node. For example, o_view_context
2. In WDINIT of parent view, wd_component->o_view_context = wd_context
3. In pop-up view, you can use wd_component->o_view_context to access context of parent.
Brown
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Used Component Controller Context
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create your ndoe in the Component Controller, then it can be accessed from your popup window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I think you can pass using outbound plug parameters.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60b4c394-fe58-2c10-f1bf-a4284f63045e
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
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.