Return-Path: X-Original-To: apmail-deltaspike-users-archive@www.apache.org Delivered-To: apmail-deltaspike-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D084185BB for ; Thu, 25 Jun 2015 08:15:28 +0000 (UTC) Received: (qmail 47398 invoked by uid 500); 25 Jun 2015 08:15:28 -0000 Delivered-To: apmail-deltaspike-users-archive@deltaspike.apache.org Received: (qmail 47373 invoked by uid 500); 25 Jun 2015 08:15:28 -0000 Mailing-List: contact users-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@deltaspike.apache.org Delivered-To: mailing list users@deltaspike.apache.org Received: (qmail 46559 invoked by uid 99); 25 Jun 2015 08:15:27 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 08:15:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 406A3D01CA for ; Thu, 25 Jun 2015 08:15:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.451 X-Spam-Level: X-Spam-Status: No, score=-1.451 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.429, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 5OsfiEEcF6It for ; Thu, 25 Jun 2015 08:15:26 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 81D64275F0 for ; Thu, 25 Jun 2015 08:15:26 +0000 (UTC) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 7D320BBB2F for ; Thu, 25 Jun 2015 08:15:25 +0000 (UTC) Received: from sflaniga.usersys.redhat.com (dhcp-40-193.bne.redhat.com [10.64.40.193]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5P8FLkA017327 for ; Thu, 25 Jun 2015 04:15:22 -0400 Message-ID: <558BB898.6020301@redhat.com> Date: Thu, 25 Jun 2015 18:15:20 +1000 From: Sean Flanigan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: users@deltaspike.apache.org Subject: JSF: dswid=tempWindowId for every duplicated tab in Chrome Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0FEDhErgo4dqxaUQee0NNpBDPB4qfRR3H" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 --0FEDhErgo4dqxaUQee0NNpBDPB4qfRR3H Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable (Warning: I'm very new to DeltaSpike!) I am using ClientWindowRenderMode.CLIENTWINDOW and a JSF page with , and a ViewAccessScoped action bean which prints its identity whenever its corresponding commandButton is clicked. If I navigate via that button, or h:link, or , everything works as I expect: the dswid is preserved, and the bean has the same identity within the same browser tab. And if I use middle-click to open a new tab, each tab gets a new identity (new dswid) and a new instance of the bean. The problem happens when I use Chrome's "Duplicate Tab" feature. Whenever I clone a tab that way, I get (after a redirect) a new tab with dswid=3DtempWindowId, and each of these tabs is sharing the same instance= of my ViewAccessScoped bean. How can I ensure that duplicated tabs get their own identity, instead of sharing "tempWindowId"? Regards, Sean. --=20 Sean Flanigan Principal Software Engineer Globalisation Tools Engineering Red Hat --0FEDhErgo4dqxaUQee0NNpBDPB4qfRR3H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iF4EAREIAAYFAlWLuJgACgkQMilnJ9bMyZUb1wEAh3jkOlOFmv5djZV1mfZeWilE DdXDg0BCq/V0Sl3d7u0BAINHQNOyKJ1i3tPnNpnAkOkFKFDfhBeRHRtZEB6U1IfQ =Qmtw -----END PGP SIGNATURE----- --0FEDhErgo4dqxaUQee0NNpBDPB4qfRR3H--