[Zope] How to do...

Andreas Jung lists at zopyx.com
Wed Oct 18 13:30:01 EDT 2006



--On 18. Oktober 2006 19:17:42 +0200 Garito <garito at sistes.net> wrote:

>> I only try to create a model but I'm searching the best way to create it
>
> I try to create properties "like" this is (in the last example):
>
> object.property "is like" object.anotherproperty
>

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.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20061018/a2ceb54d/attachment.bin


More information about the Zope mailing list