You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by bu...@apache.org on 2014/02/10 17:23:29 UTC
svn commit: r897181 - in /websites/staging/deltaspike/trunk/content: ./
jsf.html
Author: buildbot
Date: Mon Feb 10 16:23:28 2014
New Revision: 897181
Log:
Staging update by buildbot for deltaspike
Modified:
websites/staging/deltaspike/trunk/content/ (props changed)
websites/staging/deltaspike/trunk/content/jsf.html
Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb 10 16:23:28 2014
@@ -1 +1 @@
-1566660
+1566675
Modified: websites/staging/deltaspike/trunk/content/jsf.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/jsf.html (original)
+++ websites/staging/deltaspike/trunk/content/jsf.html Mon Feb 10 16:23:28 2014
@@ -91,10 +91,10 @@
</li>
<li><a href="#lazy">LAZY</a><ul>
<li><a href="#examples">Examples</a><ul>
-<li><a href="#first-get-request-with-windowid">First GET request with windowID</a></li>
-<li><a href="#first-get-request-without-windowid">First GET request without windowID</a></li>
-<li><a href="#further-get-request-with-windowid">Further GET request with windowID</a></li>
-<li><a href="#further-get-request-without-windowid">Further GET request without windowID</a></li>
+<li><a href="#first-get-request-with-windowid">First GET request with windowId</a></li>
+<li><a href="#first-get-request-without-windowid">First GET request without windowId</a></li>
+<li><a href="#further-get-request-with-windowid">Further GET request with windowId</a></li>
+<li><a href="#further-get-request-without-windowid">Further GET request without windowId</a></li>
</ul>
</li>
</ul>
@@ -171,12 +171,14 @@
<h2 id="intro">Intro</h2>
<h2 id="available-modes">Available modes</h2>
<h3 id="clientwindow">CLIENTWINDOW</h3>
-<p>Each GET request results in an intermediate small html page which checks if the browser tab fits the requested windowId.</p>
-<h4 id="advantage">Advantage</h4>
+<p>Each GET request results in an intermediate small html page which checks if the browser tab fits the requested windowId. <br/>
+When the windowId is valid, a unique token (called <code>dsRid</code>) for the current request will be generated and added to the URL. <br/>
+In addition a cookie with with the dsRid/windowId will be added. On the server side, the verified windowId will be takes from the cookie.</p>
+<h5 id="advantage">Advantage</h5>
<ul>
<li>Covers all edge cases</li>
</ul>
-<h4 id="disadvantage">Disadvantage</h4>
+<h5 id="disadvantage">Disadvantage</h5>
<ul>
<li>Every GET requests streams the the windowhandler.html first -> The
application probably feels a litte bit slower</li>
@@ -200,27 +202,27 @@
<p>Always appends the windowId to all, from JSF generated, URLs.<br/>
On the first GET request without a windowId, it will generate a new windowId and redirect, with the windowId in the URL, to the same view again.<br/>
The current windowId will be stored in the <code>window.name</code> variable on the client side. <br/>
-For all further requests, a lazy check will be performed to check if the windowID in the URL is matching with the <code>window.name</code>.
+For all further requests, a lazy check will be performed to check if the windowId in the URL is matching with the <code>window.name</code>.
If it's not matching, the view will be refreshed with the right windowId in the URL.</p>
<h4 id="examples">Examples</h4>
-<h5 id="first-get-request-with-windowid">First GET request with windowID</h5>
+<h5 id="first-get-request-with-windowid">First GET request with windowId</h5>
<ul>
<li>Renders the view</li>
<li>Stores the windowId as <code>window.name</code> on the client side</li>
</ul>
-<h5 id="first-get-request-without-windowid">First GET request without windowID</h5>
+<h5 id="first-get-request-without-windowid">First GET request without windowId</h5>
<ul>
<li>Redirect to the same view with a new windowId in the URL</li>
<li>Renders the view</li>
<li>Stores the windowId as <code>window.name</code> on the client side</li>
</ul>
-<h5 id="further-get-request-with-windowid">Further GET request with windowID</h5>
+<h5 id="further-get-request-with-windowid">Further GET request with windowId</h5>
<ul>
<li>Renders the view</li>
-<li>Checks if the requested windowID matches the <code>window.name</code></li>
+<li>Checks if the requested windowId matches the <code>window.name</code></li>
<li>If it does not match, reload the URL with the right windowId taken from <code>window.name</code></li>
</ul>
-<h5 id="further-get-request-without-windowid">Further GET request without windowID</h5>
+<h5 id="further-get-request-without-windowid">Further GET request without windowId</h5>
<ul>
<li>Redirect to the same view with a new windowId in the URL</li>
<li>Renders the view</li>