ICEfaces
  1. ICEfaces
  2. ICE-8416

Access WindowScope beans from other contexts

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      It should be possible to access WindowScope beans from other contexts, such as a Servlet with access to the HttpSession. It would be necessary to know the WindowID, or be able to navigate the list of IDs.

        Activity

        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.2 [ 10338 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial]
        Assignee Priority P2
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30831 Thu Sep 13 08:18:27 MDT 2012 mircea.toma ICE-8416 Added public API that can be used to lookup window scoped beans.
        Files Changed
        Commit graph ADD /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/bean/WindowScopeBeanLocator.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30897 Tue Sep 18 08:13:41 MDT 2012 mircea.toma ICE-8416 Make method static.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/bean/WindowScopeBeanLocator.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30898 Tue Sep 18 08:15:38 MDT 2012 mircea.toma ICE-8416 Simplify method signature.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/bean/WindowScopeBeanLocator.java
        Hide
        Mircea Toma added a comment - - edited

        Added public API that can be used to lookup window scoped beans.
        WindowScopeBeanLocator.lookupBean(HttpServletRequest request, String name) can be used to lookup a bean by its name in the current window scope.

        Show
        Mircea Toma added a comment - - edited Added public API that can be used to lookup window scoped beans. WindowScopeBeanLocator.lookupBean(HttpServletRequest request, String name) can be used to lookup a bean by its name in the current window scope.
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2 [ 10011 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: