Why does <dtml-var "objectValues('Folder')"> return a list without values displayed? like this [, , , , , , , , , , , ] - Bill Kerr
Hi Bill, look into the HTML code an you will see: [<python instance of xxxx at zzzz>,<python instance of xxxx at zzzz,....] objectValues() will return an array of python objects. If you display a python object, which hasn't a method to display it in HTML then it will be converted to string. And the above example is the string representation of an array [] with python objects in it <python instance of Folder at 0x4711> Regards, Dirk Bill Kerr schrieb:
Why does <dtml-var "objectValues('Folder')"> return a list without values displayed? like this [, , , , , , , , , , , ]
- Bill Kerr
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Bill Kerr -
Dirk Datzert