on 03-16-2009 9:15 AM
Hello all,
Using the following code, open a URL in an external window:
IWDWindow externalWin = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url, "Info tripno");
externalWin.setWindowPosition(WDWindowPos.CENTER);
externalWin.removeWindowFeature(WDWindowFeature.MENU_BAR);
externalWin.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
externalWin.removeWindowFeature(WDWindowFeature.STATUS_BAR);
externalWin.removeWindowFeature(WDWindowFeature.TOOL_BAR);
externalWin.setWindowSize(800,650);
externalWin.show();
Using a LinkToUrl the target _self, _main ... etc do not work.
Is there any way to do this? I use the following url changing is the last trip.
Best regards,
Jennifer Lohan.
Solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
A LinkToURL is rendered as an anchor tag with its target attribute always set to "_blank" and there is no way to change this. If you are navigating to a portal page/iview within the same server, you can use portal navigation and a LinkToAction UI element.
Regards,
Satyajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
LinkToUrl will not work here as
The LinkToURL UI element is a kind of hypertext link.Navigating to this link leads to a user-defined Web resource (URL), which has it own predefined window .
. If it a simple URL then define the Element only will automatically open In External Window (basically it a Internet Explorer )
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.