cancel
Showing results for 
Search instead for 
Did you mean: 

How to Redirect to a external URL

FLSaito
Participant
0 Kudos

When i run a WDJ application i need that the application redirect the user to another WDJ application or to a external url. How can i make the redirect and open this page in the same window ? It should be automatic and i can't use the LinkToURL !

thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

asif_hirani
Active Participant
0 Kudos

Hi Fabio,

Were you able to redirect from Web Dynpro application to external URL in the same Portal window ?

I have similar requirement where in I am accessing Web Dynpro application from Portal iview and on button click want to get redirected to external web site in the same portal window . User should no longer stay on portal.

please let me know how did u implement the solution.

Thanks

Asif

Former Member
0 Kudos

Dear Fabio,

you can see this ex:

IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow("http://www.baidu.com","ViewName");

window.setWindowSize(800,500);

window.removeWindowFeature(WDWindowFeature.TOOL_BAR);

window.removeWindowFeature(WDWindowFeature.MENU_BAR);

window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);

window.removeWindowFeature(WDWindowFeature.STATUS_BAR);

window.show();

Edited by: Leo Wang on Aug 1, 2009 3:49 AM

Former Member
0 Kudos

Hi,

Please try

wdComponentAPI.getWindowManager().createModalWindow

Regards,

Ganga