‎2008 Mar 24 1:17 PM
Hi,
I am using a html viewer control .Depending on the organization, I have to display different pages of the same web application in the html viewer control .Now my problem is
if I display one page in my html viewer control ,its showing the same page again in the html viewer control ,even if i give different url in the show_url method of the html viewer control.
Any body knows how to solve this problem ?
‎2008 Mar 24 1:33 PM
You need to change the data in the DATA_TABLE parameter of the HTML_CONTROL->LOAD_DATA method.
And than call the HTML_CONTROL->SHOW_DATA to call the generated URL from the LOAD_DATA method.
Regards,
Naimesh Patel
‎2008 Mar 25 5:02 AM
I am using the showurl method to display the webpage in the container..if i use the load data method ,what is the parameter to be passed in the data table.
Edited by: Gincy Anto on Mar 25, 2008 6:39 AM
‎2008 Mar 25 7:20 AM
Have you tried testing this with the SAPHTML_DEMO1 demo program and just keying in the URLs you want to display?... this demo uses the html_control->show_url method and if you run in debug you'll see it subsequently does a "call method cl_gui_cfw=>dispatch." to trigger the display of the new URL.
Jonathan