on 10-21-2005 10:29 AM
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
Chris,
Are you using the LinkToUrl element? The default 'target' for this element is to open a new window (_blank). Refer to the following for the available values: http://help.sap.com/saphelp_nw04/helpdata/en/c5/dc99f5d1b1504aa0045a7070a0f500/content.htm
The reference property on the link can be bound to a context attribute that holds the url.
Hope this helps.
Cindy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.