tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r1154796 - in /tapestry/tapestry5/trunk/tapestry-core/src/test: java/org/apache/tapestry5/integration/app1/pages/GridDemo.java resources/org/apache/tapestry5/integration/app2/pages/TestPageForLocale_fr.tml
Date Sun, 07 Aug 2011 23:31:11 GMT
Author: hlship
Date: Sun Aug  7 23:31:11 2011
New Revision: 1154796

URL: http://svn.apache.org/viewvc?rev=1154796&view=rev
Log:
TAP5-1596: Correct some test pages that referenced a non-existent component id via an event
handler method

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/GridDemo.java
    tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app2/pages/TestPageForLocale_fr.tml

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/GridDemo.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/GridDemo.java?rev=1154796&r1=1154795&r2=1154796&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/GridDemo.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/GridDemo.java
Sun Aug  7 23:31:11 2011
@@ -51,9 +51,4 @@ public class GridDemo
     {
         grid.getSortModel().updateSort("rating");
     }
-
-    void onActionFromReset()
-    {
-        grid.reset();
-    }
 }

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app2/pages/TestPageForLocale_fr.tml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app2/pages/TestPageForLocale_fr.tml?rev=1154796&r1=1154795&r2=1154796&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app2/pages/TestPageForLocale_fr.tml
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app2/pages/TestPageForLocale_fr.tml
Sun Aug  7 23:31:11 2011
@@ -1,3 +1,7 @@
 <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
 <p id="id1">French page</p>
+<t:block>
+    <!-- This needs to be present in the template since there is an event handler method
for it, even though it is not used in the French version of the page. -->
+    <p t:type="ActionLink" t:id="changeLocale" t:mixins="forceid">Change locale</p>
+</t:block>
 </html>
\ No newline at end of file



Mime
View raw message