-
Oct 11th, 2006, 11:17 PM
#1
How to open all views when application starts up?
I'm using a DeskTopApplicationPage, and I want all my views displayed when the application starts up, not just the starting view, I was suprised that no body has asked such quesion
-
Oct 12th, 2006, 08:03 AM
#2
Hi,
Try creating a DesktopPageDescriptor bean with a list of view descriptors as a "viewDescriptors" property, and pass it to your ApplicationLifecycleAdvisor as a "startingPageId" property.
hope this helps,
Andrius
-
Oct 12th, 2006, 10:21 PM
#3
Thanks
Thanks Andrius.
I'm just wondering how did you figure it out? by reading the src code?
-
Oct 13th, 2006, 02:53 AM
#4
Basically, yes. Currently the best way to find your way around Spring RCP is to check out source code from SVN and start analysing the examples. It takes time, of course, but this is still way better than trying to write such framework from scratch yourself :-)
Andrius
-
Nov 22nd, 2006, 09:49 AM
#5
Empty page descriptor
Hi,
I had a similar problem. But I needed to open MDI application without anyone view.
Thanks to you guys I solve this problem by creating DesktopPageDescriptor bean in application context with empty "viewDescriptors" property.
--Victor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules