Hello, little patch for example application. This patch adds release() method to custom tags. Cheers, Kare 8^) -- Kare Nuorteva, Software Engineer Satama UK Ltd mobile +44 7989 852 865 http://www.satama.com/
Index: CheckLogonTag.java =================================================================== RCS file: /home/cvspublic/jakarta-struts/src/example/org/apache/struts/example/CheckLogonTag.java,v retrieving revision 1.4 diff -u -r1.4 CheckLogonTag.java --- CheckLogonTag.java 2000/08/01 20:03:22 1.4 +++ CheckLogonTag.java 2001/01/30 12:33:45 @@ -192,5 +192,15 @@ } + /** + * Release any acquired resources. + */ + public void release() { + + super.release(); + this.name = Constants.USER_KEY; + this.page = "/logon.jsp"; + + } } Index: LinkSubscriptionTag.java =================================================================== RCS file: /home/cvspublic/jakarta-struts/src/example/org/apache/struts/example/LinkSubscriptionTag.java,v retrieving revision 1.3 diff -u -r1.3 LinkSubscriptionTag.java --- LinkSubscriptionTag.java 2000/11/18 22:11:56 1.3 +++ LinkSubscriptionTag.java 2001/01/30 12:33:46 @@ -232,5 +232,15 @@ } + /** + * Release any acquired resources. + */ + public void release() { + + super.release(); + this.page = null; + this.name = "subscription"; + + } } Index: LinkUserTag.java =================================================================== RCS file: /home/cvspublic/jakarta-struts/src/example/org/apache/struts/example/LinkUserTag.java,v retrieving revision 1.3 diff -u -r1.3 LinkUserTag.java --- LinkUserTag.java 2000/11/18 22:11:56 1.3 +++ LinkUserTag.java 2001/01/30 12:33:47 @@ -230,5 +230,15 @@ } + /** + * Release any acquired resources. + */ + public void release() { + + super.release(); + this.page = null; + this.name = "user"; + + } }