cancel
Showing results for 
Search instead for 
Did you mean: 

loading new URL in root window

Former Member
0 Kudos

Hi,

I want to automatically download a zipfile from a certain location. Want i wanted to do is when the user click a button, i load new url in the current (root window) which will automatically show the download popup from mozilla/IE. Is there a way to get a reference to the rootwindow and load the new url and won't this cause any problems?

Thanks in advance,

Hugo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I guess you can implement this functionality using IFrame where in you can set the URL source property to simplify your requirement.

Thanks & Regards,

Amar Bhagat Challa

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

U mean when you click button generate new external window with currentWindowinformation?

Or any thing else?

Elobarate More.

Thanks,

Lohi.

Former Member
0 Kudos

Hi Lohi,

I dont want to generate a new window...i just want to load a new URL in the current root window.

Thanks,

Hugo

Former Member
0 Kudos

This code snippet would help you to get the root window.

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().getWindow("Rootwinodw Name");

Thanks & Regards,

Amar Bhagat Challa.