on 05-26-2010 10:25 AM
Hi, Experts.
There are some components and applications.
1. First component : A1
First application : A2 from A1 component
- A1 component have some input fields and buttons.
2. Second component : B1
3. I want to appear a popup that is A1 component in B1 component.
So I used a method that is "cl_hrrcf_wd_services=>construct_wd_url" with A2's url. (-> popup html page)
Popup was success but when i clicked a "close" button, do not working in html page.
Can I close when butotn click in html page?
How to close the html page?
Help me please.
Thanks.
Regards.
Hi,
You need to create an event handler method say CLOSE_POUP. In this method you need to write the code as below to close the Popup window:
data:
l_api type ref to if_wd_view_controller,
l_window_ctlr type ref to if_wd_window_controller,
l_popup type ref to if_wd_window.
l_api = wd_this->wd_get_api( ).
l_window_ctlr = l_api->get_embedding_window_ctlr( ).
l_popup = l_window_ctlr->get_window( ).
if l_popup is bound.
l_popup->close( ).
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.