on 07-22-2004 5:06 AM
Hi,
I have a RFC that gives as output formatted HTML to my webdynpro view and i need to display the same.
Now the IFrame in Webdynpro takes only static HTML and i cannot pass a string array of HTML's to it.
Can any one tell me how to make this work.
The only workaround that i can think of it to point the iFrame to a jsp and display the html inside the jsp.
Regards,
Balaji
Hi Balaji,
you don't need a JSP, a servlet is sufficient, if the HTML data represents a complete HTML page, not only a fraction. Here's one possible way to achieve this:
1. Store the HTML data in a file accessable by the servlet.
2. Construct an URL to the servlet with at least one parameter pointing to the created file.
3. Set this URL as the IFrame's source property. The IFrame "calls" the servlet.
4. The servlet transports the data from the file specified in it's parameter list.
Hope that helps.
Regards
Stefan
PS: The IFrame UI element is no HTML viewer, so it's no surprise that you can't pass HTML data directly to it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
For example if i use the FM CONVERT_ITF_TO_HTML , i can convert sapscript to HTML. Now i want to display the same HTML in webdynpro. How do i achieve this.
Regards,
Balaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.