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/15 04:21:56 UTC

svn commit: r431489 - /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/FormSupportImpl.java

Author: jkuhnert
Date: Mon Aug 14 19:21:55 2006
New Revision: 431489

URL: http://svn.apache.org/viewvc?rev=431489&view=rev
Log:
Garr ...ordering of if's broke zee unit tests. Fixed.

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/FormSupportImpl.java

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/FormSupportImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/FormSupportImpl.java?rev=431489&r1=431488&r2=431489&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/FormSupportImpl.java (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/FormSupportImpl.java Mon Aug 14 19:21:55 2006
@@ -711,7 +711,7 @@
      */
     protected IMarkupWriter getHiddenFieldWriter()
     {
-        if (!_cycle.getResponseBuilder().isDynamic() || !_fieldUpdating) {
+        if (!_fieldUpdating || !_cycle.getResponseBuilder().isDynamic()) {
             return _writer;
         }