[Product-Developers] Persistent changes in widgets macro
Andreas Jung
lists at zopyx.com
Fri Feb 13 17:01:50 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 13.02.2009 16:09 Uhr, Andreas Petermann wrote:
> Hi list,
>
> I am trying to change the macro of the title widget in an ATDocument
> programmatically.
That's a weird idea since the Archetypes country the schema is *not*
a persistent object. The schema is a class-level attribute and an
instance attribute.
What you want is using archetypes.schemaextender.
- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkmVp34ACgkQCJIWIbr9KYx/iACgi/r4J+Q47B7xrdo6AP1VrBul
whUAn2gt6N9DlzmWuRKg0h6V6KaPt78D
=CA3/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090213/3e09e08f/attachment.vcf>
More information about the Product-Developers
mailing list