on 04-07-2009 9:56 AM
Hi Friends,
Is there any option to open URL in a new window by closing the parent window on a button click?
Already implemented the logics suggested in /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications , the thread ' URL in same window ' and the standard component WDR_TEST_EXIT_PLUG .But button is not triggerring any actions .plz help me ..............
Regards,
Radhika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Do the following steps :
-> Make an Outbound Plug to the Window.
->Make the type of Outbound plug to Exit Type.
->Add URL of type String as a parameter to the outbound plug of Window.
->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont b possible ).
To open a new URL with closing the previous one write this Code in OnAction of Button : ( this Code can be get from Code Wizard too ).
DATA lo_zexit TYPE REF TO ig_zexit . <zexit is name of my Component>
lo_zexit = wd_this->get_zexit_ctr( ).
lo_zexit->fire_out_window_plg(
url = 'http://www.google.com' " string
).
I hope it helps.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.