Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2173 JSF 2.0 AJAX library
  3. MYFACES-2194

Make the queue size configurable through myfaces params

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • None
    • JSR-314
    • None
    • Javascript

    Description

      In 13.3.2 the spec says: >>All Ajax requests must be put into a client side request queue before they are sent to the server to ensure Ajax requests are processed in the order they are sent.<<

      So, if you trigger a queue of n Ajax requests each of them would include the same ViewState that was collected at the time when the request was queued. But with each response the view state will have changed, making the former collected view state obsolete! With javax.faces.STATE_SAVING_METHOD==server the old view state may even be gone if the queue size exceeds the number of view states stored in the session.

      Attachments

        1. patch-2194.patch
          14 kB
          Ganesh Jung

        Activity

          People

            ganesh.jung Ganesh Jung
            ganesh.jung Ganesh Jung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified