[Zope] How to do...
lists at zopyx.com
Wed Oct 18 13:58:23 EDT 2006
--On 18. Oktober 2006 19:41:07 +0200 Garito <garito at sistes.net> wrote:
>> You got already multiple advices. Write a method "anotherproperty()" and
>> do whatever you like with in this method. You can call it from
>> TALES as here/anotherproperty. TALES bascially deals with attributes
>> and methods in the same way.
> Sure! But I need to write a method for every "like" property but I would
> like (if is possible) a way to evaluate if a property is a TALES property
Do you *really*, *really*, *really* need this feature? You can of course
implement your own __getattr__() method....but every Python programmer
would likely slap you left and right...these are the last comments on this
it's still to weird in my opinion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20061018/ba9199f7/attachment.bin
More information about the Zope