You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by ta...@apache.org on 2016/05/16 11:35:10 UTC

deltaspike git commit: DELTASPIKE-1144 ability to set easily set the window.name

Repository: deltaspike
Updated Branches:
  refs/heads/master e60776cc7 -> a14aef88a


DELTASPIKE-1144 ability to set easily set the window.name

Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/a14aef88
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/a14aef88
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/a14aef88

Branch: refs/heads/master
Commit: a14aef88a8f5f4b92feb179f57a4c2676dba458e
Parents: e60776c
Author: Thomas Andraschko <ta...@apache.org>
Authored: Mon May 16 13:35:02 2016 +0200
Committer: Thomas Andraschko <ta...@apache.org>
Committed: Mon May 16 13:35:02 2016 +0200

----------------------------------------------------------------------
 .../examples/jsf-playground/src/main/webapp/index.xhtml  | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/a14aef88/deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml b/deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml
index 425150e..0a659f7 100644
--- a/deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml
+++ b/deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml
@@ -44,6 +44,17 @@
     <h:link value="Lazy" outcome="views/windowhandling/lazy/test.jsf" /> <br/>
     <h:link value="Lazy without JS" outcome="views/windowhandling/lazy/testWithoutJS.jsf" /> <br/>
     <h:link value="Lazy ViewAction" outcome="views/windowhandling/lazy/viewAction.jsf" /> <br/>
+    
+    
+    <br/>
+    <br/>
+    'window.name': <input id="windowname" />
+    <button onclick="window.name = document.getElementById('windowname').value; return false;">set</button>
+    <script type="text/javascript">
+        document.getElementById('windowname').value = window.name;
+    </script>
+    
+    
 </h:body>
 
 </html>
\ No newline at end of file