Show TOC

Communication between Web Dynpro and UI Elements for HTML IntegrationLocate this document in the navigation structure

Use

Web Dynpro communicates between Web Dynpro backend and the instance of the HTMLIsland or HTMLContainer on the browser using JavaScript calls, which you can create with interface IF_WD_HTML_SCRIPT_CALL.

You can create an instance of this interface with static method NEW_CALL of class CL_WD_HTML_SCRIPT_CALL.

With method ADD_SCRIPT_CALL you can add a JavaScript call reference to a Web Dynpro UI element of type HTMLIsland or HTMLContainer (CL_WD_ABSTRACT_HTML_ELEMENT).

With method SET_DESTROY_SCRIPT_CALL you can set a call on HTMLIsland or HTMLContainer, which is executed if the instance of HTMLIsland or HTMLContainers is closed on the browser.

Note

You can find test cases for communication with HTMLIsland or HTMLContainer in component WDR_TEST_HTML_ELEMENT.