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-1042 added value input for testing purpose
Date Tue, 29 Dec 2015 16:55:07 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 2f31242a0 -> eb58d604a


DELTASPIKE-1042 added value input for testing purpose

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

Branch: refs/heads/master
Commit: eb58d604a18d8bc0c23de2a154c180ccb58d4b21
Parents: 2f31242
Author: Thomas Andraschko <tandraschko@apache.org>
Authored: Tue Dec 29 17:54:57 2015 +0100
Committer: Thomas Andraschko <tandraschko@apache.org>
Committed: Tue Dec 29 17:54:57 2015 +0100

----------------------------------------------------------------------
 deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml | 6 +++---
 .../src/main/webapp/views/scope/viewaccess/test1.xhtml         | 4 ++++
 .../src/main/webapp/views/scope/viewaccess/test2.xhtml         | 2 +-
 3 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/eb58d604/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 65cc6ac..425150e 100644
--- a/deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml
+++ b/deltaspike/examples/jsf-playground/src/main/webapp/index.xhtml
@@ -31,13 +31,13 @@
 <h:body>
     <h1>Deltaspike JSF Playground</h1>
     <br/>
-    ExceptionHanndling: <br/>
+    ExceptionHandling: <br/>
     <h:link value="ExceptionHandling" outcome="views/exceptionhandling/exceptionhandling.jsf"
/> <br/>
     <br/>
     Scope: <br/>
     <h:link value="ViewAccess 1" outcome="views/scope/viewaccess/test1.jsf" /> <br/>
-    <h:link value="ViewAccess 2" outcome="views/scope/viewaccess/test1.jsf" /> <br/>
-    <h:link value="ViewAccess 3" outcome="views/scope/viewaccess/test1.jsf" /> <br/>
+    <h:link value="ViewAccess 2" outcome="views/scope/viewaccess/test2.jsf" /> <br/>
+    <h:link value="ViewAccess 3" outcome="views/scope/viewaccess/test3.jsf" /> <br/>
     <br/>
     WindowHandling: <br/>
     <h:link value="ClientWindow" outcome="views/windowhandling/clientwindow/test.jsf"
/> <br/>

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/eb58d604/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test1.xhtml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test1.xhtml
b/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test1.xhtml
index 4567403..b767c09 100644
--- a/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test1.xhtml
+++ b/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test1.xhtml
@@ -32,6 +32,10 @@
     <h:form>
         <ds:windowId/>
 
+        <h:inputText value="#{viewAccessScopedBean.value}">
+            <f:ajax execute="@this" render="@none" />
+        </h:inputText>
+        
         <h:commandButton value="Touch" action="#{viewAccessScopedBean.touch()}"/>
         <h:commandButton value="Touch via AJAX" action="#{viewAccessScopedBean.touch()}">
             <f:ajax render="@form" execute="@this" />

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/eb58d604/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test2.xhtml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test2.xhtml
b/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test2.xhtml
index 4061c54..a6ccf86 100644
--- a/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test2.xhtml
+++ b/deltaspike/examples/jsf-playground/src/main/webapp/views/scope/viewaccess/test2.xhtml
@@ -33,7 +33,7 @@
         <ds:windowId/>
 
         <!-- Just to touch the bean -->
-        #{viewAccessScopedBean.value}
+        Value: #{viewAccessScopedBean.value}
         
         <h:commandButton value="Touch" action="#{viewAccessScopedBean.touch()}"/>
         <h:commandButton value="Touch via AJAX" action="#{viewAccessScopedBean.touch()}">


Mime
View raw message