[Zope3-dev] schema woes, sort-of

Jim Fulton jim at zope.com
Thu Sep 14 06:43:36 EDT 2006


See me response to your earlier mail.

On Sep 14, 2006, at 5:10 AM, Adam Groszer wrote:

> 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.
>
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/jim%40zope.com
>

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Zope3-dev mailing list