[Zope3-dev] widget question: propertyNames/getValue
Gary Poster
gary at modernsongs.com
Sat Feb 7 20:17:07 EST 2004
Jim Fulton wrote:
> Garrett Smith wrote:
>
>> I'm trying to make sense of propertyNames in the widget facility. From
>> what I can see, propertyNames and getValue can be removed from IWidget
>> (plus appropriate refactoring of existing code) without loosing
>> functionality.
...
> My opinion is that widgets should implement schemas that describe their
> configuration data, which are exposed via attributes.
+1. I was thinking of this too: this would also allow zcml
customization of widgets (because then we would have the type casting
for free) without having to do it with a mixin view class. That was a
goal of mine.
Gary
More information about the Zope3-dev
mailing list