on 09-01-2010 4:15 PM
Hi all,
I am trying to embed a website in a Web Dynpro View. I am not sure about it how to get this.
I have created a ViewContainerUIElement on the view and the website should be placed in this element.
My code for creating the website looks like following:
DATA: lo_window_manager TYPE REF TO if_wd_window_manager.
DATA: lo_api_component TYPE REF TO if_wd_component.
DATA: lo_window TYPE REF TO if_wd_window.
DATA: ld_url TYPE string.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
ld_url = 'http://www.google.de'.
CALL METHOD lo_window_manager->create_external_window
EXPORTING
url = ld_url
RECEIVING
window = lo_window.
lo_window->open( ).
But how can I integrated the website in my ViewContainerUIElement or isn't it possible?
Thanks for you help
Peter
Hi,
You can try using UI element Iframe.
URL can be mentioned in source property of Iframe as http://www.google.com.
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
The code u have put is for opening a popup window which will go to the google site. U should put this code in a action linked UI element(ex button) . So when u click on it. It will open the window with the site.
Ranganathan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.