Hi; I've written this PT: <span tal:define="batch here/quotes/objectValues; num python:len(batch)"> <p tal:replace="python:here.randomNumber(num)" /> </span>
...which calls this external method: import random def randomNumber(num): return random.random(num) ...and throws this error: Error Type: AttributeError Error Value: 'int' object has no attribute 'objectValues' Why? TIA, Tony ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
_______________________________________________ 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 )
