Revision: 998
http://stripes.svn.sourceforge.net/stripes/?rev=998&view=rev
Author: fdaoud
Date: 2008-11-05 20:57:02 +0000 (Wed, 05 Nov 2008)
Log Message:
-----------
Fix for STS-618
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/tag/ErrorsTag.java
trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java
trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsMapTag.java
trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
Modified: trunk/stripes/src/net/sourceforge/stripes/tag/ErrorsTag.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/tag/ErrorsTag.java
2008-11-05 19:40:32 UTC (rev 997)
+++ trunk/stripes/src/net/sourceforge/stripes/tag/ErrorsTag.java
2008-11-05 20:57:02 UTC (rev 998)
@@ -364,7 +364,6 @@
// Reset the instance state in case the container decides to pool
the tag
this.display = false;
this.nestedErrorTagPresent = false;
- this.field = null;
this.allErrors = null;
this.errorIterator = null;
this.currentError = null;
Modified: trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java 2008-11-05
19:40:32 UTC (rev 997)
+++ trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java 2008-11-05
20:57:02 UTC (rev 998)
@@ -258,13 +258,11 @@
"', but did not find a field with matching name to
set focus on.");
}
- // Clean up any state the container won't reset during tag pooling
+ // Clean up any state that we've modified during tag processing,
so that the container
+ // can use tag pooling
this.actionBeanClass = null;
- this.actionWithoutContext = null;
- this.enctype = null;
this.fieldsPresent.clear();
this.focusSet = false;
- this.method = null;
this.urlBuilder = null;
}
catch (IOException ioe) {
Modified:
trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
===================================================================
---
trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
2008-11-05 19:40:32 UTC (rev 997)
+++
trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
2008-11-05 20:57:02 UTC (rev 998)
@@ -341,9 +341,6 @@
// Clean up any temporary state
this.entries.clear();
- this.collection = null;
- this.value = null;
- this.label = null;
return EVAL_PAGE;
}
Modified: trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsMapTag.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsMapTag.java
2008-11-05 19:40:32 UTC (rev 997)
+++ trunk/stripes/src/net/sourceforge/stripes/tag/InputOptionsMapTag.java
2008-11-05 20:57:02 UTC (rev 998)
@@ -71,8 +71,6 @@
public int doEndTag() throws JspException {
int result = super.doEndTag();
- this.map = null;
-
return result;
}
}
Modified:
trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
===================================================================
---
trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
2008-11-05 19:40:32 UTC (rev 997)
+++
trunk/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
2008-11-05 20:57:02 UTC (rev 998)
@@ -90,7 +90,6 @@
}
// Clean up in case the tag gets pooled
- this.bodyContent = null;
this.definitionTag = null;
this.renderTag = null;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development