[Zope-dev] a better propertyLabel as standard?
Richard Jones
richard@commonground.com.au
Fri, 23 May 2003 11:33:22 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, May 22, 2003, at 11:20 PM, Lennart Regebro wrote:
> What about replacing the default propertyLabel of PropertyManager with
> the one from CMF:
>
> def propertyLabel(self, id):
> """Return a label for the given property id
> """
> for p in self._properties:
> if p['id'] == id:
> return p.get('label', id)
> return id
+1
Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+zXpjrGisBEHG6TARAnADAJwLJYzh7fTCBrVOGKNyaOhCpy7UwgCeNv9T
+b89O1wdOvEd836M+AdG/YY=
=RK4U
-----END PGP SIGNATURE-----