on 02-06-2007 2:18 PM
Hi
I have small application with two views in the WD application
i have established plugs and navigation links between these two views.
I have created WD ivew for these application in the portal.
when i run the application in the portal first i will show the first view of Wd applicatioa and when i click submit button in the first view it should navigate to second view in the new Internet Explor window.
let me know how to slove this problem
regards
mmukesh
hi create the new application name and new window name add the second view into that newly created window.
goto the newly created application properties and call the first applicationwindowinterfaceview.
And in first view button action add this code. it will work.
String url ="";
String depObjectName = wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
try {
WDDeployableObjectPart depObjectpart=WDDeployableObject.getDeployableObjectPart(depObjectName,"Newapplicationname",WDDeployableObjectPartType.APPLICATION);
url = WDURLGenerator.getApplicationURL(depObjectpart) ;
wdComponentAPI.getMessageManager().reportSuccess(url);
} catch (Exception e) {
}
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(url,"Pdfwindow",true);
window.setWindowSize(500,500);
window.setWindowPosition(WDWindowPos.CENTER);
window.open();
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.