Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-240 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-240 Summary: Caching of writer incompatible with tag reuse Type: Bug Status: Assigned Priority: Major Project: WebWork Components: Views Versions: 2.0 Assignee: Patrick Lightbody Reporter: Conor MacNeill Created: Mon, 4 Aug 2003 4:45 AM Updated: Mon, 4 Aug 2003 4:45 AM Environment: JBoss 3.2.1, Win2k, Jetty Description: The caching of the writer instance in the AbstractUITag class' mergeTemplate method is not correct if (writer == null) { writer = pageContext.getOut(); } When the tag is reused, the incorrect writer is used and content appears in odd places. The following change Writer outputWriter = writer; if (outputWriter == null) { outputWriter = pageContext.getOut(); } and using the outputWriter in place of writer in the merge call should fix this while still allowing the writer to be explicitly set. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork