IFrame

Do not this UI element any more.
With the portal, you can integrate applications that are not based on the Web Dynpro programming model. UI elements are provided too embed help texts, for example, Explanation and the explanation property in a range of UI elements (for example, InputField, Button). The OfficeControl is provided for embedding documents and the InteractiveForm is provided for PDF forms.
If you still want to use the UI element, note that when interactive, stateful applications, such as BSP or JSP applications, are embedded, these are always reloaded in connection with navigation steps after each server roundtrip. When IFrame is used, no session handling is supported. In particular, the Web Dynpro framework cannot close existing sessions that were initiated through the use of IFrames.
Note that Web Dynpro cannot guarantee accessibility to the content of an IFrame.
The UI element IFrame represents an area separated by a frame, which contains a separate browser page, within a view. This frame can be used to display external sources like HTML pages within a specific area of the user interface. In general, a vertical and horizontal scroll bar are activated to view the content of this UI element. You can scroll within this frame, as shown in the following graphic:
Example of the
Visual Display:
IFrame in a MatrixLayout with
Background Shading
|
|

To enable the development of accessible applications, the tooltip property is checked during the syntax check.
Runtime Class |
CL_WD_IFRAME |
Properties in View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
no |
WDY_BOOLEAN |
false |
yes |
|
WDY_BOOLEAN |
true |
yes |
|
STRING |
300 |
yes |
|
WDUI_SCROLLING_MODE |
auto |
yes |
|
STRING |
|
yes |
|
Text |
|
yes |
|
WDUI_VISIBILITY |
visible |
yes |
|
STRING |
300 |
yes |

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
For dynamic programming, the same properties, events and aggregations are available as in the view designer. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
BORDER |
WDY_BOOLEAN |
|
ENABLED |
WDY_BOOLEAN |
|
HEIGHT |
STRING |
|
SCROLLING_MODE |
WDUI_SCROLLING_MODE |
|
scrollingMode: auto |
CL_WD_IFRAME=>E_SCROLLING_MODE-AUTO |
|
scrollingMode: both |
CL_WD_IFRAME=>E_SCROLLING_MODE-BOTH |
|
scrollingMode: none |
CL_WD_IFRAME=>E_SCROLLING_MODE-NONE |
|
SOURCE |
STRING |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_IFRAME=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_IFRAME=>E_VISIBLE-VISIBLE |
|
WIDTH |
STRING |
|
You can find examples in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.
