[Zope] Re: How to do...[Rendering zpt on the fly]

2006-10-27 Thread Josef Meile
Hi Garito, I saw in another thread you still need this. If I'm not wrong what you are pretending is to somehow render zpt on the fly. So, here is my idea: I would like to write things like: object.property = 'here/anotherproperty' object.anotherproperty = 'Barcelona' and ask it like: print o

Re: [Zope] How to create a new TAL statement?

2006-10-27 Thread Tino Wildenhain
Garito schrieb: Hi all! As Aj and Chris advise my to forget the __getattr__ bussiness I try to solve the same question by other ways Now I have a new question: Can you point me to some help about how to create a new TAL statement? I would like to create a tal:yanged (for example) statement

[Zope] How to create a new TAL statement?

2006-10-27 Thread Garito
Hi all! As Aj and Chris advise my to forget the __getattr__ bussiness I try to solve the same question by other ways Now I have a new question: Can you point me to some help about how to create a new TAL statement? I would like to create a tal:yanged (for example) statement to control how z

Re: [Zope] Weird ZCatalog issue...

2006-10-27 Thread Chris Withers
Chris Withers wrote: This ain't right, anyone else seen this or anything like it? zopectl debug: >>> len(app.some_catalog.unrestrictedSearchResults()) 2937144 >>> i = 0 >>> for b in app.some_catalog.unrestrictedSearchResults(): i+=1 >>> i 821165 Also: >>> len(tuple(app.some_c

[Zope] Weird ZCatalog issue...

2006-10-27 Thread Chris Withers
This ain't right, anyone else seen this or anything like it? zopectl debug: >>> len(app.some_catalog.unrestrictedSearchResults()) 2937144 >>> i = 0 >>> for b in app.some_catalog.unrestrictedSearchResults(): i+=1 >>> i 821165 wtf? (Zope 2.8) Chris -- Simplistix - Content Managemen