|
From: <jue...@we...> - 2004-07-29 12:57:29
|
Tom, Oops, this has been introduced through my recent refactoring of the = tags, for behavior that is consistent with our new Velocity/FreeMarker = macros. Thanks for spotting this! As TransformTag didn't actually do HTML escaping, I've derived it from = RequestContextAwareTag rather than HtmlEscapingAwareTag. Neither Tomcat = nor Resin complained, so I didn't notice that the TLD actually states an = "htmlEscape" property. I've just made TransformTag actually HTML-escape its result value (if = demanded), deriving it from HtmlEscapingAwareTag now. I'll commit this = promptly. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Tom Turelinckx Sent: Thursday, July 29, 2004 2:46 PM To: spr...@li... Subject: [Springframework-developer] TransformTag has no setter for htmlEscape attribute in 1.1RC1 After upgrading to 1.1RC1 (we were previously using a cvs version of a couple of days ago), we get an error when accessing any jsp that uses the spring taglib: weblogic.servlet.jsp.JspException: (line 6): Error in using tag library uri=3D'http://www.springframework.org/tags' prefix=3D'spring': The Tag = class 'org.springframework.web.servlet.tags.TransformTag' has no setter method corresponding to TLD declared attribute 'htmlEscape', (JSP 1.1 spec, 5.4.1) This is on WebLogic 8.1sp2. And indeed, the TLD declares a htmlEscape attribute while there is no corresponding setter in TransformTag. Maybe TransformTag should extend HtmlEscapingAwareTag (and actually use html escaping) instead of RequestContextAwareTag? Regards, Tom. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |