RE: [Zope] getting the number of returned objects
20 Oct
2001
20 Oct
'01
7:25 p.m.
On 20. oktober 2001 21:10, Timothy Wilson [SMTP:wilson@visi.com] wrote:
Hi everyone,
Let's say I've got a PythonScript called 'getResults' that does a catalog query. What is the proper way to get how many results were returned by getResults in DTML? For example, <dtml-var "len(getResults)"> doesn't work (I didn't think it would). I've tried some other variants without success. Any ideas?
-Tim
Have you tried with: <dtml-in getResults> <dtml-var sequence-length> </dtml-in> ? Gitte Wange
8934
Age (days ago)
8934
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gitte Wange