on 05-08-2008 11:21 AM
Hi All,
I want a pop up on the close of the webdynpro application....i tried coding in the doexit method and doOnClose method of the window but the pop up does not open...Can anyone guide me on this.
Thanks and Regards,
Srividya
Hi,
Try writing code on wddoexit of componentcontroller.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
i tried writing the code in the DOEXIT method as well as WDDOAPPLICATIONSTATECHANGE of the component controller.But i cant see any pop up..the code wat i have written is :
data: window_manager type ref to if_wd_window_manager,
cmp_api type ref to if_wd_component,
window type ref to if_wd_window,
lt_texts type string_table,
wd_comp_controller type ref to IG_COMPONENTCONTROLLER.
append `Testpopup` to lt_texts.
cmp_api = wd_comp_controller->wd_get_api( ).
window_manager = cmp_api->get_window_manager( ).
window = window_manager->create_popup_to_confirm(
text = lt_texts
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none ).
window->open( ).
This code is working for event handlers.I have checked it.
hi srividya.......
write it in the wddoexit of the view and not the window...
--regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi srividya......
the thing is.......
it goes into the code but the popup does not comes up because the browser gets closed before that... but you will be able to see the message, browser started. these methods can be used only for clearing values.
better have a seperate button and use a popup and then close the browser.
---regards,
alex b justin
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
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.