|
From: Seth L. <set...@gm...> - 2004-07-24 18:42:53
|
On Sat, 24 Jul 2004 15:12:53 +0200, j=FCrgen h=F6ller [werk3AT] <jue...@we...> wrote: > Darren, >=20 > Oops, I forgot to discuss that one: The reason why I removed the htmlEsca= pe property from the "springBind" macro is to be able to participate in a R= equestContext-level default, e.g. set via springMacroRequestContext.setDefa= ultHtmlEscape(true). Note that the createBindStatus invocation on RequestCo= ntext uses the defaultHtmlEscape flag then. >=20 > I've just adapted the RequestContext implementation a bit further to also= be able to participate in a ServletContext-level default, just like our JS= P tags can, i.e. a "defaultHtmlEscape" context-param in web.xml. JSP tags a= nd Velocity/FreeMarker macros can then even share such an application-wide = default. I'll commit this promptly. >=20 Would it be appropriate to add a application-wide config param called 'usingDtd' with values such as 'XHTML1.0Strict" or "HTML4.01". This would help tags that do omit HTML to omit the proper markup. This would be useful for the convenience form macros. Thanks, Seth |