deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject deltaspike git commit: DELTASPIKE-971 fixed example page
Date Mon, 03 Aug 2015 08:11:04 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 8d9a276d9 -> f8742c17c


DELTASPIKE-971 fixed example page

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

Branch: refs/heads/master
Commit: f8742c17cd4f03c01142b17f90a7ee17b6f831bd
Parents: 8d9a276
Author: Thomas Andraschko <tandraschko@apache.org>
Authored: Mon Aug 3 10:10:55 2015 +0200
Committer: Thomas Andraschko <tandraschko@apache.org>
Committed: Mon Aug 3 10:10:55 2015 +0200

----------------------------------------------------------------------
 .../windowhandling/clientwindow/test.xhtml      | 88 ++++++++++----------
 1 file changed, 43 insertions(+), 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/f8742c17/deltaspike/examples/jsf-playground/src/main/webapp/views/windowhandling/clientwindow/test.xhtml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jsf-playground/src/main/webapp/views/windowhandling/clientwindow/test.xhtml
b/deltaspike/examples/jsf-playground/src/main/webapp/views/windowhandling/clientwindow/test.xhtml
index 52df305..ff0db76 100644
--- a/deltaspike/examples/jsf-playground/src/main/webapp/views/windowhandling/clientwindow/test.xhtml
+++ b/deltaspike/examples/jsf-playground/src/main/webapp/views/windowhandling/clientwindow/test.xhtml
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
@@ -17,51 +18,48 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
 <html xmlns="http://www.w3.org/1999/xhtml"
-      xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ds="http://deltaspike.apache.org/jsf">
-
-<h:head>
-    <title>DeltaSpike JSF Playground</title>
-</h:head>
-
-<h:body>
-    <h:form>
-        <ds:windowId/>
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ds="http://deltaspike.apache.org/jsf">
 
-        DS WindowId: #{dsWindowContext.currentWindowId}
-        <br />
-        <br />
-        <h:link value="GET Link" outcome="test.xhtml" />
-        <br />
-        <br />
-        <h:commandLink value="Postback">
-        </h:commandLink>
-        <br />
-        <br />
-        <h:commandLink value="Postback with outcome" action="test.xhtml?faces-redirect=true">
-        </h:commandLink>
-        <br />
-        <br />
-        <h:commandLink value="AJAX Postback">
-            <f:ajax render="@form" execute="@this" />
-        </h:commandLink>
-        <br />
-        <br />
-        <h:commandLink value="AJAX Postback with outcome" action="test.xhtml?faces-redirect=true">
-            <f:ajax render="@form" execute="@this" />
-        </h:commandLink>
-        <br />
-        <br />
-        Last time linkAction: #{viewActionController.lastTimeLinkAction} <br/>
-        <h:commandLink value="AJAX action" action="#{viewActionController.linkAction}">
-            <f:ajax render="@form" execute="@this" />
-        </h:commandLink>
-    </h:form>
-    
-</h:body>
+    <f:view contentType="text/html">
+        <h:head>
+            <title>DeltaSpike JSF Playground</title>
+        </h:head>
+        <h:body>
+            <h:form>
+                <ds:windowId/>
 
+                DS WindowId: #{dsWindowContext.currentWindowId}
+                <br />
+                <br />
+                <h:link value="GET Link" outcome="test.xhtml" />
+                <br />
+                <br />
+                <h:commandLink value="Postback">
+                </h:commandLink>
+                <br />
+                <br />
+                <h:commandLink value="Postback with outcome" action="test.xhtml?faces-redirect=true">
+                </h:commandLink>
+                <br />
+                <br />
+                <h:commandLink value="AJAX Postback">
+                    <f:ajax render="@form" execute="@this" />
+                </h:commandLink>
+                <br />
+                <br />
+                <h:commandLink value="AJAX Postback with outcome" action="test.xhtml?faces-redirect=true">
+                    <f:ajax render="@form" execute="@this" />
+                </h:commandLink>
+                <br />
+                <br />
+                Last time linkAction: #{viewActionController.lastTimeLinkAction} <br/>
+                <h:commandLink value="AJAX action" action="#{viewActionController.linkAction}">
+                    <f:ajax render="@form" execute="@this" />
+                </h:commandLink>
+            </h:form>
+        </h:body>
+    </f:view>
 </html>
\ No newline at end of file


Mime
View raw message