| Changed View ID, now it never displays [message #768317] |
Mon, 19 December 2011 17:43  |
Missing name Mising name Messages: 94 Registered: December 2010 |
Member |
|
|
Yeah, I'm a total newbie at this.
I'm playing with the examples, trying to figure out where things are set.
I'm using the mail program example, as that has the most "stuff" to play with.
I changed the ID of a view from "test.navigatorView" to "test.folderView". I also changed the "id" field in the extension element for that view.
Now it just doesn't display. No errors, no nothing. The other view (that I also renamed earlier) displays just fine.
So, it means that I missed something - but I haven't been able to find any other references to the old View ID.
I used copy/paste to make sure the ID is the same in both places.
Any suggestions on where I should look?
Is there some place where runtime errors (like not finding the view class) are logged?
|
|
|
| Re: Changed View ID, now it never displays [message #768342 is a reply to message #768317] |
Mon, 19 December 2011 19:01   |
Missing name Mising name Messages: 94 Registered: December 2010 |
Member |
|
|
Figured it out!
I had enabled configurer.setSaveAndRestore(true) shortly before this.
If I set it back to false, the view appears.
Change it back to true, the view disappears again.
Okay, so it seems that if it's restore the workbench, and you have a view that wasn't there before, it gives it 0 size? (or makes it invisible, something...)
So, how do I fix this, or prevent this, during developemnt?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02063 seconds