[Zope] How to do...

Jens Vagelpohl jens at dataflake.org
Wed Oct 18 13:25:01 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 18 Oct 2006, at 12:53, Garito wrote:
> Then I can't create a property that stores a tal expression for  
> example?
>
> I would like to write things like:
>
> object.property = 'here/anotherproperty'
> object.anotherproperty = 'Barcelona'
>
> and ask it like:
>
> print object.property -> 'Barcelona'
>
> or
>
> <tal:city tal:replace='here/property' /> -> 'Barcelona'

Google for ComputedAttribute.

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFNmNuRAx5nvEhZLIRAkRcAJ4lfb9YMZGCgMnyhwokS9b9JocsEQCdEMh1
FSIjkr9Ijvr6LpR1vIPXrHI=
=ugZY
-----END PGP SIGNATURE-----


More information about the Zope mailing list