[pylons-discuss] Re: CheckboxChoiceWidget - all checked by default

2015-06-17 Thread Petr Blahos
Hello, is it possible to make all the checkboxes in a CheckboxChoiceWidget checked by default? Sorry, I meant to say in colander + deform2. Thanks. Petr -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and

[pylons-discuss] Re: CheckboxChoiceWidget - all checked by default

2015-06-17 Thread Petr Blahos
And the answer is: class Schema(colander.Schema): incl = colander.SchemaNode( colander.Set(), title=_(Pallets to include), widget=deform.widget.CheckboxChoiceWidget( values=((16, First pallet), (17, Second