I have attached a pretty simple standalone component. I can view the attached component in design mode by itself (though I had to wrap all references to the PagingToolbar to hide them from Designer). But if I create a simple Component that will then hold this component, and in design mode try to add this to it - I start hitting errors. Any ideas?
Just in case - I'll restate:
Attached file: PrdOrderListingGrid.java - I can open in design mode - it doesn't see the right columns or anything like that but it opens a reasonably realistic view.
Then create another component - call it - PrdOrderListing.java - I just add a VerticalPanel and a Label, then I try to add this internal component (PrdOrderListingGrid) while in design view and it crashes after adding the code to include the component.
- Code: Select all
PrdOrderListingGrid gridPanel = new PrdOrderListingGrid();
Just to check, I exit Eclipse, come back in and try to open PrdOrderListing in design mode and it still is failing with error. I would quote the error, but I assume if you take this and try to add it to a simple outer component yourself you should get the same error. Yell if you don't and you want to see the error stack.