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

svn commit: r431187 - in /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry: ComponentEvent.script dojo/html/WidgetEvent.script html/ElementEvent.script

Author: jkuhnert
Date: Sun Aug 13 08:33:17 2006
New Revision: 431187

URL: http://svn.apache.org/viewvc?rev=431187&view=rev
Log:
Fixed bug where the global event connection scripts were incorrectly checking for a definition of a local
variable agaisnt the wrong context. Also didn't need to check existance because it should be guaranteed.

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/ComponentEvent.script
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/html/WidgetEvent.script
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/ElementEvent.script

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/ComponentEvent.script
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/ComponentEvent.script?rev=431187&r1=431186&r2=431187&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/ComponentEvent.script (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/ComponentEvent.script Sun Aug 13 08:33:17 2006
@@ -45,12 +45,10 @@
                     tapestry.form.submit("${formName}");
                     </if-not>
                     
-                    if (!dj_undef("validateState", this)) { 
-                        tapestry.form.setFormValidating("${formName}", validateState);
-                    }
+                    tapestry.form.setFormValidating("${formName}", validateState);
                     </foreach>
                 });
             </foreach>
         </if>
     </initialization>
-</script>
\ No newline at end of file
+</script>

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/html/WidgetEvent.script
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/html/WidgetEvent.script?rev=431187&r1=431186&r2=431187&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/html/WidgetEvent.script (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/html/WidgetEvent.script Sun Aug 13 08:33:17 2006
@@ -45,12 +45,10 @@
                     tapestry.form.submit("${formName}");
                     </if-not>
                     
-                    if (!dj_undef("validateState", this)) { 
-                        tapestry.form.setFormValidating("${formName}", validateState);
-                    }
+                    tapestry.form.setFormValidating("${formName}", validateState);
                     </foreach>
                 });
             </foreach>
         </if>
     </initialization>
-</script>
\ No newline at end of file
+</script>

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/ElementEvent.script
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/ElementEvent.script?rev=431187&r1=431186&r2=431187&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/ElementEvent.script (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/ElementEvent.script Sun Aug 13 08:33:17 2006
@@ -44,12 +44,10 @@
                     tapestry.form.submit("${formName}");
                     </if-not>
                     
-                    if (!dj_undef("validateState", this)) { 
-                        tapestry.form.setFormValidating("${formName}", validateState);
-                    }
+                    tapestry.form.setFormValidating("${formName}", validateState);
                     </foreach>
                 });
             </foreach>
         </if>
     </initialization>
-</script>
\ No newline at end of file
+</script>