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/11/24 07:35:12 UTC

svn commit: r478779 - /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/Form.java

Author: jkuhnert
Date: Thu Nov 23 22:35:06 2006
New Revision: 478779

URL: http://svn.apache.org/viewvc?view=rev&rev=478779
Log:
Small error in super call timing.

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

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/Form.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/Form.java?view=diff&rev=478779&r1=478778&r2=478779
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/Form.java (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/Form.java Thu Nov 23 22:35:06 2006
@@ -176,16 +176,16 @@
 
     protected void cleanupAfterRender(IRequestCycle cycle)
     {
+        super.cleanupAfterRender(cycle);
+        
         _formSupport = null;
-
+        
         TapestryUtils.removeForm(cycle);
 
         IValidationDelegate delegate = getDelegate();
 
         if (delegate != null)
             delegate.setFormComponent(null);
-
-        super.cleanupAfterRender(cycle);
     }
 
     protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)