Announcement Announcement Module
Collapse
No announcement yet.
How to open all views when application starts up? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


    • #3
      Thanks

      Thanks Andrius.

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

      Comment


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

        Comment


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

          Comment

          Working...
          X