[Zope] Re: <dtml-var variable> from REQUEST not shown in <input> tag if it has spaces??

Josef Meile jmeile at hotmail.com
Fri Aug 5 01:29:34 EDT 2005


Hi Thomas,

> When i just use it as <dtml-var sSQL> everything is
> ok.
> When i use it like : <input type="text"
> value=<dtml-var sSQL>>, i get everything until the
> first space. For example from "select * from mytable"
> i get "select".
I'm not sure, but don't you need to enclose it with double quotation
marks? Something like this:

<input type="text" value="<dtml-var sSQL>">

You can also try:

<input type="text" value="&dtml-sSQL;">

Regards,
Josef



More information about the Zope mailing list