Skip to Content
0
Former Member
Oct 21, 2005 at 09:29 AM

Open Web Browser window

33 Views

hi,

I hava the following problem.

In one of my tables within a web dynpro I have one column with urls (e.g http://www.google.com").

what I want to do is to open the url with an external browser window, dependent on which row is selected.

with the code:

IWDWindow window= wdControllerAPI.getComponent().getWindowManager().createExternalWindow(

"STRING" ,"google",true);

I can open a browser window, but only if I hardcode the url. If I want to use a variable (e.g. url) from my table:

String URL = wdContext.currentLinkListMapElement().getURL();

I get a

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Invalid URL=http://www.url.de

exception.

please please help

thanx

Christoph