|Problem with ViewStack org.eclipse.rap.design.example.stack.view [message #808525]
||Mon, 27 February 2012 21:52
| Thorsten Schlathölter
Registered: February 2012
i am trying to get a RAP project running which I have created starting with a New Plugin Project - "RAP Mail Template". The template creates a configuration that makes use of the BusinessPresentationFactory (org.eclipse.rap.design.example.business.factory). So far everything works just fine. I have added a new View by simpy duplicating the Message View of the application. I have added this new View to the ViewStack in the RAP Perspective.
layout.addStandaloneView(NavigationView.ID, false, IPageLayout.LEFT, 0.25f, editorArea);
IFolderLayout folder = layout.createFolder("messages", IPageLayout.TOP, 0.5f, editorArea);
folder.addPlaceholder(View.ID + ":*");
folder.addPlaceholder(View2.ID + ":*");
And this is where the trouble starts. Whenever I try to activate this new view in the stack I get the following Message:
Error: Could not apply border to child [object org.eclipse.swt.widgets.Composite] VML._copyData: source or target missing!
Script: var wm = org.eclipse.swt.WidgetManager.getInstance();wm.dispose
If I remove the defaultStackPresentation attribute from the Business Presentation Factory, a default stackPresentation is used which doesn't fit the rest of the presentation but works. So the problem seems to be related to the org.eclipse.rap.internal.design.example.stacks.ViewStackPresentation.
I am using Eclipse 3.7 with the RAP Platform 184.108.40.20610914-1945
Any hints/thoughts would be appreciated since - comming from the RCP side - I haven't got the faintest idea where to start digging.
Powered by FUDForum
. Page generated in 0.01722 seconds