You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2006/08/02 05:18:55 UTC

svn commit: r427871 - in /tapestry/tapestry4/trunk: pom.xml tapestry-annotations/pom.xml tapestry-contrib/pom.xml tapestry-framework/pom.xml tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.script tapestry-portlet/pom.xml

Author: jkuhnert
Date: Tue Aug  1 20:18:54 2006
New Revision: 427871

URL: http://svn.apache.org/viewvc?rev=427871&view=rev
Log:
Upgraded to TestNG 5.0.2 , fixed script error with existing DatePicker component.

Modified:
    tapestry/tapestry4/trunk/pom.xml
    tapestry/tapestry4/trunk/tapestry-annotations/pom.xml
    tapestry/tapestry4/trunk/tapestry-contrib/pom.xml
    tapestry/tapestry4/trunk/tapestry-framework/pom.xml
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.script
    tapestry/tapestry4/trunk/tapestry-portlet/pom.xml

Modified: tapestry/tapestry4/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/pom.xml?rev=427871&r1=427870&r2=427871&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/pom.xml (original)
+++ tapestry/tapestry4/trunk/pom.xml Tue Aug  1 20:18:54 2006
@@ -138,7 +138,7 @@
             <dependency>
                 <groupId>org.testng</groupId>
                 <artifactId>testng</artifactId>
-                <version>5.0.1</version>
+                <version>5.0.2</version>
                 <classifier>jdk15</classifier>
                 <scope>test</scope>
             </dependency>

Modified: tapestry/tapestry4/trunk/tapestry-annotations/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-annotations/pom.xml?rev=427871&r1=427870&r2=427871&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-annotations/pom.xml (original)
+++ tapestry/tapestry4/trunk/tapestry-annotations/pom.xml Tue Aug  1 20:18:54 2006
@@ -47,7 +47,7 @@
         <dependency>
             <groupId>org.testng</groupId>
             <artifactId>testng</artifactId>
-            <version>5.0.1</version>
+            <version>5.0.2</version>
             <classifier>jdk15</classifier>
             <scope>provided</scope>
         </dependency>

Modified: tapestry/tapestry4/trunk/tapestry-contrib/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/pom.xml?rev=427871&r1=427870&r2=427871&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-contrib/pom.xml (original)
+++ tapestry/tapestry4/trunk/tapestry-contrib/pom.xml Tue Aug  1 20:18:54 2006
@@ -52,7 +52,7 @@
         <dependency>
             <groupId>org.testng</groupId>
             <artifactId>testng</artifactId>
-            <version>5.0.1</version>
+            <version>5.0.2</version>
             <classifier>jdk15</classifier>
             <scope>test</scope>
         </dependency>

Modified: tapestry/tapestry4/trunk/tapestry-framework/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/pom.xml?rev=427871&r1=427870&r2=427871&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/pom.xml (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/pom.xml Tue Aug  1 20:18:54 2006
@@ -76,7 +76,7 @@
         <dependency>
             <groupId>org.testng</groupId>
             <artifactId>testng</artifactId>
-            <version>5.0.1</version>
+            <version>5.0.2</version>
             <classifier>jdk15</classifier>
             <scope>test</scope>
         </dependency>

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.script
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.script?rev=427871&r1=427870&r2=427871&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.script (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.script Tue Aug  1 20:18:54 2006
@@ -41,7 +41,7 @@
 </let>
 
 <let key="buttonOnclickHandler">
-  javascript:${calendarObject}.toggle(document.${formName}.${name});	
+  javascript:${calendarObject}.toggle(dojo.byId("${formName}"));	
 </let>
 
 <body>
@@ -61,7 +61,7 @@
   [${shortWeekDayNames}],
   "${format}", ${firstDayInWeek}, ${includeWeek}, ${minimalDaysInFirstWeek}, "${clearButtonLabel}");	
 ${calendarObject}.onchange = function() {
-  var field = document.${formName}.${name};
+  var field = dojo.byId("${formName}").${name};
   var value = ${calendarObject}.formatDate();
 	if (field.value != value) {
     field.value = value;

Modified: tapestry/tapestry4/trunk/tapestry-portlet/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-portlet/pom.xml?rev=427871&r1=427870&r2=427871&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-portlet/pom.xml (original)
+++ tapestry/tapestry4/trunk/tapestry-portlet/pom.xml Tue Aug  1 20:18:54 2006
@@ -45,7 +45,7 @@
         <dependency>
             <groupId>org.testng</groupId>
             <artifactId>testng</artifactId>
-            <version>5.0.1</version>
+            <version>5.0.2</version>
             <classifier>jdk15</classifier>
             <scope>test</scope>
         </dependency>