cancel
Showing results for 
Search instead for 
Did you mean: 

Popup Window Problem

arunneerolil
Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

wdComponentAPI should be available. Otherwise something is wrong.

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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