[Zope3-dev] schema woes, sort-of
Adam Groszer
adamg at fw.hu
Thu Sep 14 05:10:14 EDT 2006
Hi,
I'm starting to have lots of schemas around. They are mostly for
view/add/edit forms, based on the entity (content object's) schema.
That means they mostly have the same fields with mostly the same
properties.
Adding field to a schema is piece of cake. Subclass the original, add
the field, but... field order breaks.
Modifying a field's property by subclassing does not work, changing
some property of the derived schema's field changes the original
too.
Deleting a field does not work.
Renaming a field...
To still be able to use the widget&form framwork I keep adding a hell
lot of redundant information. E.g. to make a field readonly, I have to
copy the schema, change that only one field's property. I hope I won't
miss the copy next time.
So the big question is: how to solve the above things? Anybody done
that already? Any ideas? Any pointers?
PS: sorry of the mail without subject gets through, the network here
is breaking down
--
Best regards,
Adam mailto:adamg at fw.hu
--
Quote of the day:
I must have slipped a disk; my pack hurts.
More information about the Zope3-dev
mailing list