on 11-22-2006 9:09 AM
Hi
Can someone confirm that the cl_wd_popup_factory=>popup is now obsolete? I am led to believe that I should use the IF_WD_WINDOW_MANAGER->CREATE_WINDOW instead. I wish to call a popup window to display the user's success or failure in saving a record.
Thanks in advance
Ian
Yes
example from a document
method onactionpopup1_1 .
data: l_cmp_api type ref to if_wd_component,
l_window_manager type ref to if_wd_window_manager.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
if wd_this->m_popup1_1 is initial.
wd_this->m_popup1_1 = l_window_manager->create_window(
window_name = 'POPUP1_1'
button_kind = if_wd_window=>co_buttons_yesnocancel
message_type = if_wd_window=>co_msg_type_question ).
endif.
wd_this->m_popup1_1->open( ).
endmethod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I came across this ages ago (well about 2 months!) but it didn't make much sense then. Now it does.
Thanks to you both.
Ian
Hi Ian,
the class cl_wd_popup_factory is definitely obsolete. For a confirmation dialog, you should use the method IF_WD_WINDOW_MANAGER~CREATE_POPUP_TO_CONFIRM instead.
You could use the component WDR_TEST_POPUP_TO_CONFIRM as an example.
Best Regards, Ariane.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ian,
It's definitely obsolete. The new API offers many advanced features in addition.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.