on 09-09-2007 9:53 AM
Hi,
Is there any way I can change the default view in a window at runtime?
Aviad
Hi,
1. Embed the new view in the existing window and mark it as non default.
2. Make sure that this newly embedded view has an ID (in this case I've used the ID extrnlView).
3. Create a method openExternalWindow in the Component Controller.
4. Implementation of openExternalWindow:
IWDWindowInfo win = wdComponentAPI.getComponentInfo().findInWindows("<window name>");
win.setDefaultRootViewUsage(win.getViewUsageByID("extrnlview"));
}
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.