DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42360>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42360 Summary: Custom Tag resue specs Product: Tomcat 6 Version: 6.0.10 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] >From what I understand, the Custom tags resues the same object for similar tags with the exact set of attributes. This is not the case with tomacat. I upgraded from 6.0.2 to 6.0.10 and the problem did not disappear. The object is reused even if I have differnent set of attributes. For example, if I have a tag called paragraph that may take font and color as an attribute and I create a tag handler for this tag with the default values "12pt" and "black" for the color. If I do this: <x:paragraph font="14" color="red"> Big Hello in Red</X:paragraph> <x:paragraph font="8" > Small Hello in Black</X:paragraph> The second paragraph is displayed in red. Stepping through my code, confirmed this. I am using: java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]