tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [1/50] git commit: Tweak test page UI
Date Sun, 16 Dec 2012 01:17:32 GMT
Updated Branches:
  refs/heads/master b108e06f4 -> 7619f7eee


Tweak test page UI


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/7619f7ee
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/7619f7ee
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/7619f7ee

Branch: refs/heads/master
Commit: 7619f7eee181762d78c6812b36197f2a5f281c1d
Parents: 8695dc8
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Sat Dec 15 17:03:52 2012 -0800
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Sat Dec 15 17:03:52 2012 -0800

----------------------------------------------------------------------
 .../integration/app1/pages/AlertsDemo.tml          |   17 ++++++++-------
 1 files changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/7619f7ee/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml
b/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml
index 912b029..abe1a65 100644
--- a/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml
+++ b/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml
@@ -1,5 +1,5 @@
 <html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"
-        xmlns:p="tapestry:parameter">
+      xmlns:p="tapestry:parameter">
 
 <h1>Alerts Demo</h1>
 
@@ -23,13 +23,14 @@
 
 <t:actionlink class="btn btn-warning" t:id="reset">Reset Alerts Storage</t:actionlink>
 
-<t:alerts class='alert-class' dismissText="Zenbu Kesu"/>
+<div>
 
-<t:if test="showerrorcomponent">
-    <t:errorcomponent />
-    <p:else>
-        <t:eventlink event="showerrorcomponent">show error component</t:eventlink>
-    </p:else>
-</t:if>
+    <t:if test="showerrorcomponent">
+        <t:errorcomponent/>
+        <p:else>
+            <t:eventlink class="btn" event="showerrorcomponent">show error component</t:eventlink>
+        </p:else>
+    </t:if>
+</div>
 
 </html>


Mime
View raw message