on 2007 Apr 20 9:31 AM
hi,
i want to set a specific view active within the component-controller, because at runtime, there might be another view in the view-set active. i tried it with
IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("<mywindow>");
IWDViewUsageInfo viewUsageInfo = windowInfo.getViewUsageByID("<myview>");
windowInfo.setDefaultRootViewUsage(viewUsageInfo);
but everytime i try to navigate from my needed view, I get the error:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot navigate from view <myview> because it is not part of the current view assembly
kr, achim
Request clarification before answering.
hi,
if myview is embedded into the window , then try setting its LifeSpan property to "framework_controlled", not sure bt lets give it a try.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
10 | |
8 | |
8 | |
6 | |
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.