on 12-28-2007 1:50 PM
Hi
I am new to webdynpro. I have one text box and a button in my form. If i press the button i shoud be able to open a new window where i have to pass the input given in textbox as parameter to some url
eg: if the url is http://www.google.com/search and i give name in textbox
if i press submit i should be able to open a new window with url as http://www.google.com/search?h1=name
can anybody suggest on this...
Regards,
Prasanthi
Hi Prasanthi,
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("Windowname");
String url ="http://www.google.com/search"
Create a context text attrtibute -> bind this to textbox.
Concatenate this to url.
url"?h1="wdContext.currentContextElement().getText();
IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createExternalWindow(url, window title, false);
regards,
Siva
Edited by: Siva Rama Krushna on Dec 28, 2007 7:55 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.