What are quotes doing here: 1: <dtml-var propertyValues> 2: <dtml-var propertyValues()> 3: <dtml-var "propertyValues"> 4: <dtml-var "propertyValues()"> 1 and 4 gives the same result. 2 gives Error Type: KeyError; Error Value: propertyValues(). 3 gives a > Where can I find information about syntax etc? Wim
Take a look at "The Zope Book" available on-line at www.zope.org. <dtml-var ...> renders either an object or and expression. You have encountered the *short* forms. The long forms are: <dtml-var name="propertyValues"> <dtml-var expr="propertyValues()"> The expr form evaluates a python expression. -dra On Fri, 9 May 2003, Wim Bekker wrote:
What are quotes doing here:
1: <dtml-var propertyValues> 2: <dtml-var propertyValues()> 3: <dtml-var "propertyValues"> 4: <dtml-var "propertyValues()">
1 and 4 gives the same result. 2 gives Error Type: KeyError; Error Value: propertyValues(). 3 gives a >
Where can I find information about syntax etc?
The Zope Book is your friend. -aj --On Freitag, 9. Mai 2003 16:04 Uhr +0200 Wim Bekker <wim@dv-rec.com> wrote:
What are quotes doing here:
1: <dtml-var propertyValues> 2: <dtml-var propertyValues()> 3: <dtml-var "propertyValues"> 4: <dtml-var "propertyValues()">
1 and 4 gives the same result. 2 gives Error Type: KeyError; Error Value: propertyValues(). 3 gives a >
Where can I find information about syntax etc?
Wim
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (3)
-
Andreas Jung -
Dennis Allison -
Wim Bekker