Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-195

Portlet "global session scope" is unaccessible from JSF views

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.4
    • Fix Version/s: 2.0 M2
    • Component/s: JSF
    • Labels:
      None

      Description

      Currently JSF provides support for accessing sessionScope and applicationScope natively, but provides no support for globalSessionScope applicable in a Portlet environment. Spring Web Flow provides this access through its ExternalContext abstraction, however, as of SWF 1.0.4 there is no way to access this data structure from a JSF view.

      A workaround here would be to use Spring 2.0's custom bean scoping features to configure a bean sourced from global session scope. This ticket should investigate providing uniform access to the global session scope structure from a JSF view...

      Original report:

      Access could be provided like ${externalContext.sessionMap.foo} with an enhancement to FlowExecutionVariableResolver and FlowExecutionPropertyResolver.

      However, is JSF's default support for resolving session and request scope variables is good enough? With Spring 2.0 as the managed bean provider and its custom scopes feature this might not be necessary as well. (Though this has the benefit of an explict prefix to reduce the likeihood of name clashes)

        Attachments

          Activity

            People

            Assignee:
            jeremyg484 Jeremy Grelle
            Reporter:
            garpinc Keith Garry Boyce
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: