velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nbu...@gmail.com>
Subject Re: LinkTool and xHTML
Date Wed, 07 Jan 2009 16:24:11 GMT
Just call the setXHTML(boolean) method to change this behavior.  or if
you are configuring this in a tools.xml (Tools 2)  or toolbox.xml
(Tools 1), then you can set an "xhtml" property for the tool to true.

On Tue, Jan 6, 2009 at 9:44 PM, Manish <prolist@gmx.net> wrote:
> This is a question about Velocity's LinkTool
> http://velocity.apache.org/tools/devel/view/LinkTool.html
>
> The addQueryData() method of this tool creates parameters with an ampersand
> - &;
> but xHTML specifies that correct way to write an ampersand in a xhtml is to
> use
> the ampersand character reference "&amp;"  -- so that would make
> &param=value as
> &amp;param=value. Is there any xHTML compatible method available in newer
> versions of LinkTool?
>
> rgds,
> - Manish
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message