Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 59526 invoked from network); 17 Sep 2004 04:20:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Sep 2004 04:20:58 -0000 Received: (qmail 95884 invoked by uid 500); 17 Sep 2004 04:20:54 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 95763 invoked by uid 500); 17 Sep 2004 04:20:53 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 95750 invoked by uid 500); 17 Sep 2004 04:20:53 -0000 Received: (qmail 95747 invoked by uid 99); 17 Sep 2004 04:20:53 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 16 Sep 2004 21:20:53 -0700 Received: (qmail 59432 invoked by uid 1431); 17 Sep 2004 04:20:52 -0000 Date: 17 Sep 2004 04:20:52 -0000 Message-ID: <20040917042052.59429.qmail@minotaur.apache.org> From: dion@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/jelly/jelly-tags/swt project.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N dion 2004/09/16 21:20:52 Modified: jelly/jelly-tags/swt/xdocs changes.xml jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt WidgetTag.java jelly/jelly-tags/swt project.xml Log: Applied Jelly-141. Revision Changes Path 1.8 +3 -0 jakarta-commons/jelly/jelly-tags/swt/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/swt/xdocs/changes.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- changes.xml 12 Sep 2004 14:12:08 -0000 1.7 +++ changes.xml 17 Sep 2004 04:20:51 -0000 1.8 @@ -24,6 +24,9 @@ dIon Gillard + + WidgetTag should null-out its bean after running + var and resource support for images add cTabFolder + cTabItem widgets 1.15 +10 -0 jakarta-commons/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/WidgetTag.java Index: WidgetTag.java =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/WidgetTag.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- WidgetTag.java 8 Sep 2004 04:51:31 -0000 1.14 +++ WidgetTag.java 17 Sep 2004 04:20:52 -0000 1.15 @@ -109,6 +109,7 @@ } } super.doTag(output); + clearBean(); } // Implementation methods @@ -277,5 +278,14 @@ return SwtHelper.parseStyle(SWT.class, text); } return style; + } + + /** Sets the bean to null, to prevent it from + * sticking around in the event that this tag instance is + * cached. This method is called at the end of doTag. + * + */ + protected void clearBean() { + setBean(null); } } 1.16 +1 -1 jakarta-commons/jelly/jelly-tags/swt/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/swt/project.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- project.xml 12 Sep 2004 14:12:45 -0000 1.15 +++ project.xml 17 Sep 2004 04:20:52 -0000 1.16 @@ -20,7 +20,7 @@ ${basedir}/../tag-project.xml commons-jelly-tags-swt commons-jelly-tags-swt - 1.0 + 1.1-SNAPSHOT org.apache.commons.jelly.tags.swt This is a Jelly interface for SWT. Commons Jelly SWT Tag Library --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org