cancel
Showing results for 
Search instead for 
Did you mean: 

No more iframe-UI in CE 7.1?

Former Member
0 Kudos

Hi there

With displace I found out, that in the new netweaver ce - java webdynpro environment, it isn't possible at all to make

iframe-UI!

As you can see in this help-page the iframe API sems to become deprecated.

[http://help.sap.com/saphelp_nwce10/helpdata/en/e9/7652a84fada444bd11ca73670ce7dc/frameset.htm|http://help.sap.com/saphelp_nwce10/helpdata/en/e9/7652a84fada444bd11ca73670ce7dc/frameset.htm]

Till now i didn't found any other solution for integrating html or other pages into

my new java webdynpro!

-


Except generating it with the deprecated iwdiframe element into my wddomodify-method... (like below)


IWDIFrame iframe = (IWDIFrame) view.createElement(IWDIFrame.class);
IWDTransparentContainer cont = (IWDTransparentContainer) view.getElement("RootElement");
		  
iframe.setBorder(false);
iframe.setScrollingMode(WDScrollingMode.NONE);
iframe.setSource("http://www.sdn.sap.com");
		  
cont.addChild(iframe);

Does anyone now other solutions?

Thanks in advance

Regards

Marco

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Use of Url iViews is recommended.

Check thread:

Former Member
0 Kudos

Hi Marco,

i am facing the same problem. Did you find any solution? Please let me know.

Regards,

Dirk

Former Member
0 Kudos

The IFrame UI element in earlier WD releases was not usable for embedding interactive HTML pages or foreign applications. To avoid that developers make this mistake we deprecated the IFrame. Therefore the IFrame will not be shown in the NWDS view designer anymore but can nevertheless still be used via the (deprecated) API.

In the latest release 7.1 this drawback has been fixed and the IFrame deprecation has been removed again. But it shouldn't still be used for embedding other applications because this will not work correctly.

Armin