ICEfaces
  1. ICEfaces
  2. ICE-8645

@WindowScope support for FileEntryCallback

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA_P01, 3.2.BETA1
    • Fix Version/s: EE-3.2.0.BETA, EE-3.2.0.GA, 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description


      Apparently our window scope does not work very well with FileEntryCallback. I suspect that a scope does not work here for the same reason the View scoped FileEntryCallback throwing an NPE in my sample app. This JIRA was created to address this issue if possible.

      Based on initial analysis of the problem the fileEntry upload is processed before restore view, which is when view scope is setup. Possibly window scope is as well, and possibly fileEntry can initialize window scope earlier in order to work with the callback.

      The desired behavior should be similar to the @SessionScoped or @AplicationScoped FileEntryCallback bean.

      To see the issue use the source code and change the scope of the FileEntryCallbackImpl bean from session to view or window scoped.



        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32018 Tue Nov 06 12:17:56 MST 2012 mircea.toma ICE-8645 Introduce public method WindowScopeManager.associateWindowIDToRequest that can be used by components that need access to window scoped beans before the request is completely read in. Use this new method in FileEntryResourceHandler to make sure the correct scope map is looked up by the WindowELResolver.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryResourceHandler.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Evgheni Sadovoi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: