You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by st...@apache.org on 2010/11/26 11:12:04 UTC

svn commit: r1039297 - /myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/src/main/webapp/helloMyFacesCodi.xhtml

Author: struberg
Date: Fri Nov 26 10:12:04 2010
New Revision: 1039297

URL: http://svn.apache.org/viewvc?rev=1039297&view=rev
Log:
EXTCDI-79 add description to our sample

Modified:
    myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/src/main/webapp/helloMyFacesCodi.xhtml

Modified: myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/src/main/webapp/helloMyFacesCodi.xhtml
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/src/main/webapp/helloMyFacesCodi.xhtml?rev=1039297&r1=1039296&r2=1039297&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/src/main/webapp/helloMyFacesCodi.xhtml (original)
+++ myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/src/main/webapp/helloMyFacesCodi.xhtml Fri Nov 26 10:12:04 2010
@@ -26,9 +26,22 @@
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:ui="http://java.sun.com/jsf/facelets">
 
-    <head><title>CODI JSF 2.0 Demo</title></head>
+    <head><title>CODI JSF 2.0 Client Side WindowHandler Demo</title></head>
 
     <body>
+        <p>
+            This example shows you the powerful functions of the new
+            client side window handler.
+        </p>
+        <p>
+            It determines the identity of a browsers window or tab by
+            using the <b>window.name</b> to hold a unique identifier.
+            This windowId will be transfered to the server with a small
+            JavaScript page which gets served upfront to the original
+            page. You don't even need to add the windowId parameter
+            to the URL!
+        </p>
+
         <h:form>
             <h:commandLink value="next" action="next"/>
         </h:form>