javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1172

ClientWindow: deal gracefully with multiple client windows having the same id

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Lifecycle
    • Labels:
      None

      Description

      AS> + * <p>In addition to the hidden field already described. The runtime
      AS> + * must ensure that any component that renders a hyperlink that causes
      AS> + * the user agent to send a GET request to the Faces server when it is
      AS> + * clicked has a query parameter with a name and value specified in
      AS> + *

      {@link ResponseStateManager#CLIENT_WINDOW_URL_PARAM}

      . This
      AS> + * requirement is met by several of the "encode" methods on

      {@link AS> + * javax.faces.context.ExternalContext}

      . See

      {@link AS> + * javax.faces.context.ExternalContext#encodeActionURL(java.lang.String) AS> + * }

      for details.</p>

      AS> What is the expected behavior when the end user creates a second browser
      AS> tab/window with an existing window id? For example, this can happen by:

      AS> - Bookmarking an url with a window id and opening that URL in multiple tabs.
      AS> - Copying and pasting an url from one tab into a second tab.
      AS> - (On some browsers) Using the browser's "New Window" action.

      AS> For each of the above cases, each window/tab should be assigned its own
      AS> unique id, even though it would require additional work to determine
      AS> when a client window id has been copied across windows/tabs

        Activity

        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ed Burns
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: