...but why wouldn't the dtml version also work as he has it below? I have hundreds of form uses just like that....and we have never used the entity syntax.
-Allen On 2/15/2010 5:17 PM, Tres Seaver wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Martin Krallinger wrote: > >> Hi, >> >> it seems that there some of the options in zope had been changed. I have >> been looking >> in the documentation but did not find any explanation on what I am >> trying to do, which >> results in a formatting error message in new zope version, but worked >> fine in the older one. >> >> I have an input form, to which I provided a dtml-var as value,something >> like: >> >> <td> >> <input name="_valuename" size="20" value="<dtml-var person_name>"> >> </td> >> >> >> How can I provide as value now the variable<dtml-var person_name> ? It >> seems that >> there are substantial changes here. I >> > You want to use the "entity" syntax for attributes: > > <input name="_valuename" size="20" value="&dtml-person_name;" /> > > Note that 'person_name' must be available to the template, either in the > request or as an attribute of the "context" of the template. > > > Tres. > _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )