on 05-20-2009 5:39 AM
Hi,
Please let me know how to code for get Message Box or like Alrt messages in javascript.
I think there is a option called Model dialog box.
shall use Model dialog box for my small popup alerts?. or any separate control is there?.
any idea..?
Regards,
Kumar K
Yaap.
Its working fine
thanks guys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the following piece of code to display simple text messsages in a popup window using Webdynpro ABAP.
DATA: l_cmp_api TYPE REF TO if_wd_component,
l_window_manager TYPE REF TO if_wd_window_manager,
l_popup TYPE REF TO if_wd_window,
l_text TYPE string_table,
l_api TYPE REF TO if_wd_view_controller,
message TYPE string.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
message = 'Your Message'. " your informational/alert messages
APPEND message TO l_text.
l_popup = l_window_manager->create_popup_to_confirm(
text = l_text
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_information
window_title = 'Information'
window_position = if_wd_window=>co_center ).
l_popup->open( ).
Regards,
Radhika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.