Skip to Content

Popup Window Problem

Hi,

I am trying popup sample code

**************************************************

IWDWindow window = wdComponentAPI

getWindowManager().createExternalWindow(

"http://www.google.de",

"Google - Search for an email address",

false);

window.open();

**************************************************

'wdComponentAPI' - Is this an implicit object ?

NWD is showing error - " Cannot resolve symbol wdComponentAPI "

I am using NWD Studio 2.0.3

Can anyone help ?

Thanks in Advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 07:26 PM

    wdComponentAPI should be available. Otherwise something is wrong.

    If you want to get away from using that, use wdThis.wdGetAPI().getComponent() for wdComponentAPI

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 07:28 PM

    First I would suggest that you update your Web Dynpro runtime and NetWeaver studio to a more recent version.

    The reference wdComponentAPI has been introduced to facilitate access to the component from within a controller.

    In older versions you can use wdThis.wdGetComponent().getAPI() or something like this (I'm writing this from my memory).

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.