Skip to Content
author's profile photo Former Member
Former Member

Possible to display an external page in a nested view of a ViewSet ???

Hi,

I would like to know if it is possible to display an external page (i.e. an URL to a page outside the WebAS) inside a view from a ViewSet.

For example, I create a ViewSet with two nested views. I would like to forward the first nested view to an external html page (i.e. http://www.google.com) and would like to display some WebDynPro content in the second nested view.

Is this possible using ViewSets??

I would use IFrames for this but we are not able due to browser limitations.

Thanks in advance,

Marc Antoine

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2004 at 06:36 PM

    Hi Marc Antoine,

    no, i'm afraid, without using IFrames this will not work as a part of the view assembly. What you could do alternatively is open an external window, if that is sufficient (and possible according to browser limitations). Please have a look at the API documentation of IWDWindowManager.createExternalWindow().

    Hope that helps.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Marc Antoine,

      no, i don't think so. The Web Dynpro UI element dedicated for displaying "plain HTML" content is the IFrame. You can't create a custom control at the low level, which would be required here, since Web Dynpro is intended to hide the client implementation (in this case HTML) specific details.

      But what about "reversing the layers"? Would it be possible and sufficient to use a JSP which displays two urls? You could simply use the Web Dynpro application url as one and the external url as the other part. But then again you would have to use frames, so this will not be possible also, i guess.

      Hope that helps.

      Regards

      Stefan

      PS: I would suggest to post this in the Web Dnypro forum also, maybe somebody else (especially the SAP internal WD specialists) might have more helpful ideas.