Results 1 to 5 of 5

Thread: How to open all views when application starts up?

  1. #1

    Question 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

  2. #2
    Join Date
    Jan 2006
    Location
    Vilnius, Lithuania
    Posts
    68

    Default

    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

  3. #3

    Smile Thanks

    Thanks Andrius.

    I'm just wondering how did you figure it out? by reading the src code?

  4. #4
    Join Date
    Jan 2006
    Location
    Vilnius, Lithuania
    Posts
    68

    Default

    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

  5. #5
    Join Date
    Jun 2006
    Location
    Kiev, Ukraine
    Posts
    9

    Default 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
  •