Announcement Announcement Module
Collapse
No announcement yet.
How to close a view/editor ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to close a view/editor ?

    I'd like to know how the framework will handle view and editor closing ?
    Let assume ApplicationPage has a hideView(View) method. How to implement it ?
    The protected close(PageComponent) method from AbstractApplicationPage doesn't seem to be the correct place. Someone has implemented DesktopComponentPane with an internalFrameListener that will call close(PageComponent) when the internal frame is closed.

    The question is how to do this programmatically from ApplicationPage ?
    Is PageComponentPane has to be improved to handle such feature ?

    Thanks

  • #2
    Off the top of my head, I don't believe this aspect of the View architecture has been fully implemented in Spring-rich. For our application, we have created a custom ApplicationPage to have more control over the management of View lifecycles. I believe it is intended that the Page/View/Editor architecture be matured and developed more - the only reason this hasn't happened yet is developer resources.

    - Andy

    Comment

    Working...
    X