----- Original Message -----
From: "Jonathan" <[EMAIL PROTECTED]>
This is working:
<dtml-with picture.gif>
<dtml-var IMGproperty>(existing property at Image)
</dtml-with>
And this raise error:
<dtml-with dtml_document_file>
<dtml-var ikona1>(existing property at DTML document)
</dtml-with>
Try:
<dtml-var "dtml_document_file.getProperty('ikona1', 'badPropertyName')">
Many thanks, it works.
Regards, JL.
PS: for clarity only, it does not work with each filename - I was test it at
file with dot in their name :o)
<dtml-var "_['dtml.document.file.name.with.dot'].getProperty('ikona1',
None)">
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )