velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: [veltools] xhtml setting for tools and macros
Date Thu, 21 Aug 2003 00:19:45 GMT
Matías Giovannini <matias@k-bell.com> writes:
...
> [] in velocity.properties
> [] in toolbox.xml as standard <data type="boolean"> element
> [x] in toolbox.xml as new <xhtml>true|false</xhtml> element
> [] ______________
> 
> Key (for in-template checking):
> [] $XHTML
> [] $isXhtml
> [] $XHTML_MODE
> [x] $isXHTML
> 
> Rationale: it's a boolean value (a.k.a. predicate), so the "is" prefix
> is appropriate. However, "XHTML" is an acronym, so it should be
> uppercase (cf. getUrl() vs. getURL() snafu in the original Servlet
> spec).

Ditto, if anyone still cares.
-- 

Daniel Rall

Mime
View raw message