on 03-20-2007 1:03 PM
Hi all,
i have a problem with an external window. When i pass an URL to the method: wdComponentAPI.getWindowManager().createExternalWindow(URL,"texto",true), the application throw me an exception and it doesn't load the page that i want to see. Is there some restriction with the URL that i pass to that method??. Please help
Mariana
Message was edited by:
Armin Reichert
Hi Mariana,
Whenever you pass the URL then you need to pass the complete URL.
eg: <b>"http://www.google.com"</b>
The syntax is:
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(
"http://www.google.com",
"Google",
false);
window.open();
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please post the URL and the stacktrace of the exception.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok...this is the full exceptionthat the method throw me. And yes im sending the full URL
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.<b>InvalidUrlRuntimeException</b>: Invalid URL=http://wasapl:50000/valedecaja/webContent/valedecaja.jsp?kostl=1PD0200000&res=3700017247&fech=13/03/2007&act=RH0203&sol=G%20RecursosHumanos%20AtencionComercial%&cu=6200040000&con=L-Materiales%20Oficina%20y%20Articulos%20de%20Escritorio&im=10,000.00&im1=DIEZ%20MIL%20CON%20CERO%20CENTIMOS&im2=%20&im3=%20&mon=10,000.00&idb=0&tot=10,000.00&be=NOGUERA%20CAMPERO,%20INDHIRA%20JOSEFINA&us=P00116398&apr=EDGAR%20DOMINGUEZ&logo=Cantv
at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.checkURL(AbstractURLGenerator.java:601)
at com.sap.tc.webdynpro.services.sal.url.core.URLGeneratorInternal.checkURL(URLGeneratorInternal.java:303)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createNonModalExternalWindow(ClientComponent.java:960)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createExternalWindow(ClientComponent.java:935)
at com.sap.training.wd.context.Vista_consulta.onActionShow_Reporte(Vista_consulta.java:218)
... 27 more
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.