[JIRA-OS] Commented: (SIM-55) applyDecorator tag doesn't work on resin

[email protected]
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
The following comment has been added to this issue:

     Author: Mathias Bogaert
    Created: Tue, 2 Sep 2003 2:44 AM
       Body:
I'm not seeing this on Resin 2.1.10. Is this still a valid bug?
---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=SIM-55


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: SIM-55
    Summary: applyDecorator tag doesn't work on resin
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: SiteMesh
 Components: 
             Container
   Fix Fors:
             2.0
   Versions:
             1.5

   Assignee: Scott Farquhar
   Reporter: Scott Farquhar

    Created: Wed, 15 Jan 2003 5:52 PM
    Updated: Wed, 15 Jan 2003 5:52 PM

Description:
The applyDecorator tag calls 'release()' manually, which clears the tag values.

As resin caches the values applied to the tags, this results in null errors.

This is explained in the mailing list post by Eric Kreiser on 15/1/03 to sitemesh mailing list:

"I had a problem with UTF-8 content when pulled thru the page:applyDecorator process.

The problem for me was directly related to doing multiple page:applyDecorator calls in a single page.  The first call would render the UTF-8 content correctly, but all subsequent calls were miss handled.  The first time the taglib is called the ContentType and Encoding is set correctly, but the second time the taglib is called the ContentType and Encoding is not set.  And since the "release" method of ApplyDecoratorTag sets the ContentType and Encoding to null, they remain null for the second and subsequent calls - causing the content to be handled as 8859-1."



---------------------------------------------------------------------
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 is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.