on 07-10-2008 10:00 PM
Hi Experts,
I have the following scenario:
From my component "A", I'm calling as modal window to component "B".
Normally, component "A" and component "B" have buttons for close themself.
But, when I press a button in component "B", I need to close this component and component "A", too.
I can close component "B". More over, I can close component "A" pressing one button in the same component, but pressing the button from component "B" I'm getting error and I can't do that.
For this purpose, I'm calling the method that I use for close component "A" in the WDMODIFYVIEW of a view which contained in this component "A", but it doesn't work. I'm getting a dump, because it can't be done in this method.
Somebody knows how can I do that?
Thanks in advance!
Kind Regards,
Lucas
What do you mean by component? Is it Web Dynpro Component?
I would do this kind of requirement in the following way.
1. I will create a web dynpro component with two windows MAIN_WIN & POPUP_WIN and also two views MAIN_VIEW, POPUP_VIEW.
2. I will embedd MAIN_VIEW in MAIN_WIN and POPUP_VIEW in POPUP_WIN/.
3. I use code wizard in MAIN_VIEW to create popup for POPUP_WIN
4. I will set close_button property to ABP_FALSE so that it will now show in the popup.
5. I will add a button in the POPUP_VIEW to close this view and fire plug to my MAIN_WIN.
6. I will add logic in MAIN_VIEW to close my MAIN_WIN.
Hope this will help you.
Thanks
Venkata Ramisetti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
refer to these examples
WDR_TEST_POPUP_01,demo_popups_01,demo_popups_03,demo_popups_02
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.