on 03-05-2011 6:57 AM
Hi,
I have searched through the forum but couldn't get the answer that i need. Hence this posting..
My requirement is to generate a popup(A) from main view with 2 buttons yes/no. While selecting "no", it should trigger a 2nd popup(B). This popup(B) has 2 buttons as well. OK/Cancel. Upon selecting "Cancel" button, it should go back to popup A instead of main view.
Any suggestions would be greatly appreciated.. Thanks
ASujo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Baskaran,
It certainly does look like my scenario except that i am looking for a clue on how to achieve it.. Looking at your earlier response,
1. Created 2 Component controller ,public attributes go_popup1,go-popup2 of type if_wd_window.
2.Create a method close_popups and implement code to close first go_popup2 and then go_popup1.
3.On cancel_yes handler method call the close_popups method.
Which method should i use to first close the popup2 ? Should it be created in component controller as well ?
Thanks
ASujo
i do not understand this
" Which method should i use to first close the popup2 ? Should it be created in component controller as well ? "
go_popup2 hold the instance of the popup2.
If your question is about closing only popup2 then you might create totally three methods in close_popup1, close_popup2 and close_popups which calls above two methods.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.