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)