ICEfaces
  1. ICEfaces
  2. ICE-9606

AllWindowsClosed handlers have no access to FacesContext

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      n/a

      Description

      The @AllWindowsClosed annotation allows users to have a method called when all session windows and tabs have been closed, in order clear resources, trigger actions, etc.

      The callback method, however, currently can't have any context. As it's called within another thread, it can't access the FacesContext directly. It would be useful if the AllWindowsClosedNotifier passed this in through the method parameter, if the method parameter exists.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38294 Thu Sep 26 13:46:59 MDT 2013 mircea.toma ICE-9606 Provide the FacesContext instance to the @PostConstruct, @PreDestroy and @AllWindowsClosed
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: