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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: