on 11-02-2005 3:04 PM
Hi ALL,
Im building a Web Dynpro application under Netweaver Developer Studio 6.4 and I need to redirect to another URL while the client click on a button.
I know it should be something like request.getServletResponse(true).sendRedirect("myURL");
But Im not sure how to get the request, or the response in order to apply the sendRedirect method.
Do you have any code sample or Web documentation I could use to redirect my Web Dynpro application?
Best regards,
Hi Jean
check the following document on inter application navigation,
cheers
sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jean-François,
To navigate to http://www.yahoo.com you have 2 options:
1) Call
WDClientUser.forceLogoffClientUser("http://www.yahoo.com");
2) Define Outbound plug with name Url in interface view, mark it as exit, define parameter Url with type String. Add usage of interface view in your view and add something like this in action handler:
wdThis.wdGet...InterfaceViewController().wdFirePlugUrl("http://www.yahoo.com");
Best regards, Maksim Rashchynski.
HI Maksim,
The second method wdThis.wdGet...InterfaceViewController().wdFirePlugUrl("http://www.yahoo.com");
and it works for me if i run the webdynpro application in a separate browser. But, if i put the application in a portal iview, it gives the below exception.
java.lang.StringIndexOutOfBoundException: String index out of range: -1
Should i use some different relative url when using it as an iview in portal? Can you please help me here?
Regards,
Vijay.K
HI Maksim,
The second method wdThis.wdGet...InterfaceViewController().wdFirePlugUrl("http://www.yahoo.com");
and it works for me if i run the webdynpro application in a separate browser. But, if i put the application in a portal iview, it gives the below exception.
java.lang.StringIndexOutOfBoundException: String index out of range: -1
Should i use some different relative url when using it as an iview in portal? Can you please help me here?
Regards,
Vijay.K
Hi,
Try using the following code:
wdComponentAPI.getWindowManager().createExternalWindow("http://www.google.com");
Regards,
Utkarsh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.