cancel
Showing results for 
Search instead for 
Did you mean: 

Alternate to IFrame

Former Member
0 Kudos

From what I understand, IFrame element should be used to display HTML. Unfortunately this element has been <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e9/7652a84fada444bd11ca73670ce7dc/frameset.htm">deprecated in 2004s</a>, so what's the alternate ?

The problem is as follows:

We would have an "Accept" button on the view, which should pop-up with the legal language and a continue button. Once the user clicks on continue, he would be taken to another view. The legal stuff would come from a URL on the website. We would not like to hard code this as it is subject to change.

Thanks for the help.

Regards, Parag.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos
Former Member
0 Kudos

Heidi, the first link you have clearly says that IFrame is deprecated. This is what i had mentioned as well.

The question is: if i use dialog box, how can i show HTML that comes from a URL ?

Hope this helps.

Regards, Parag.

Former Member
0 Kudos

Hi,

have you tried using a LinkToUrl UI element? http://help.sap.com/saphelp_nw2004s/helpdata/en/49/e8884118aa1709e10000000a155106/frameset.htm

Regards, Heidi

Former Member
0 Kudos

The requirement is to show the HTML from the URL in the dialog box. LinkToURL would only point to the URL, not show it.

Regards, Parag.

Former Member
0 Kudos

Parag,

If you are using WD ABAP then you can:

1. Load and parse HTML from URL (I guess ABAP has similar classes as Java's URLConnection & Co) to DOM document.

2. Transform it with XSLT to format acceptable by FormattedTextView

3. Show it on form using FormattedTextView.

For WD Java the only option is to still use IFrame. Also it is deprecated, no replacement exists.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com