ICEfaces
  1. ICEfaces
  2. ICE-2047

ViewRoot may be stale under standardRequestScope

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.6
    • Fix Version/s: 2.0-Alpha3
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces 1.6

      Description

      The standardRequestScope mode of ICEfaces causes request scope to be cleared for Ajax requests as well as full page requests. Another facet of this same behavior is ViewRoot caching performed by ICEfaces. This caching likely reduces latency, but can interfere with, for instance, Seam Page scope. We should consider whether standardRequestScope should also disable ViewRoot caching (another option is to control ViewRoot caching with a specific parameter).

      Note, however that JSF 1.1 incorrectly handles multiple views onto the same page. This has been improved in JSF 1.2 : (Jacob Hookum in JSR-314 Data Binding discussion)

      Client-Side statesaving, this has always worked fine, but for server-side statesaving, the viewId returned isn't just a token for the page resource, it's the page resource plus a counter. So each request gets its own counter for the javax.faces.ViewState value (view:432:1, view:432:2, view:432:3, ...)

        Activity

        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 10080 ]
        Ted Goddard made changes -
        Fix Version/s 2.0 [ 10032 ]
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: