-----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.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkt5yAUACgkQ+gerLs4ltQ5whACdEPNtwRsrtbHVVleS+ZsuMksO
aSsAoI7/4hESKVWPKgZaLYoc+vAihvTr
=j9eI
-----END PGP SIGNATURE-----

_______________________________________________
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 )

Reply via email to