Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4507

Current conversation lost from page scope on intermediate AJAX request with conversationPropagation=none

    Details

      Description

      The application uses RichFaces. There are modal dialogs that use conversation scoped beans and there are requests ("AJAX push") being processed in the background are not to participate in those dialog conversations (logically separate).

      I can get the desired temporary conversation by using

      <input type="hidden" name="conversationPropagation" value="none"/>

      on the page, but after one of these posts was processed, the original conversation will no longer be attached to the dialog that is active in parallel. That's because the conversation id is no longer retained and propagated through the page context. The long running conversation is not terminated (expected) but becomes orphaned (not expected).

      I'm attaching the source code for extended version of FacesManager that produces the desired behavior. I think that this should be the default behavior, otherwise propagation mode "none" makes no sense in the context of an AJAX app.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tw Thomas W
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: