[Zope3-dev] Custom widgets for zc.table's EditColumn

Christian Theune ct at gocept.com
Thu Dec 7 10:43:41 EST 2006



Gary Poster wrote:
> On Dec 7, 2006, at 8:29 AM, Christian Theune wrote:
> 
>> Hi,
>>
>> formlib provides the ability to declare a custom widget class on a
>> per-form basis.
>>
>> zc.table's EditColumn doesn't do that, but I'd like it to.
>>
>> If nobody objects, I'll add a new argument 'custom_widget' to the
>> constructor of this column and change the widget lookup to pay  
>> attention
>> to this. This is pretty much in sync with what formlib does.
> 
> FWIW, FieldColumn is supposed to supersede EditColumn.  Since it can  
> take a zope.formlib field, it can use that field's custom_widget.   
> (see fieldcolumn.FieldColumn.getInputWidget)

Oh. I didn't see that. I'll have a look at that. Thanks for the hint.

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20061207/5e373517/signature-0001.bin


More information about the Zope3-dev mailing list