Announcement Announcement Module
Collapse
No announcement yet.
Views as JInternalFrame Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Views as JInternalFrame

    Hi!

    A recent change (revision 1304, by peterdb) in the RCP made my application stop showing my views as JInternalFrames.

    Can anybody show me how is the correct way to declare in my context that all my views should open as JInternalFrames?

    I was declaring this in the context:

    <bean id="applicationWindowPrototype" class="org.springframework.richclient.application. mdi.DesktopApplicationWindow"
    singleton="false" />

    But now the DesktopApplicationWindow does not exist.

    Thanks!

  • #2
    Some refactored code has been commited yesterday that cause your issue.
    Check out this thread, it will give you hints on how to fix this:

    http://thread.gmane.org/gmane.comp.j...235/focus=3298

    Comment


    • #3
      Do the following in your application context file:

      Code:
          <bean id="applicationServices"
              class="org.springframework.richclient.application.support.DefaultApplicationServices">
              ...
              <property name="applicationPageFactory"><bean class="org.springframework.richclient.application.mdi.DesktopApplicationPageFactory" /></property>
          </bean>
      The DesktopApplicationWindow only served as a factory for the DesktopApplicationPage, and it has been replaced by the applicationPageFactory.

      Hope this helps,

      Peter

      Comment


      • #4
        Worked

        I was off for a while and only now I had the time to test this.

        It worked!

        Thanks Peter!

        Comment


        • #5
          Hi *,

          I have a peripheral question... Using internal frames, how do you get or build the usual menu Window which list the internal frames that have been created (minimised/overlapped etc) so the user can switch (i.e. bring to front) the one they want?

          At the moment, by default, it lists all VIEWS (created or not).

          Is there such a mechanism?

          thanks

          Comment

          Working...
          X