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 pallet")),
                ),
                default=["16", "17"],
            )



On Wed, Jun 17, 2015 at 8:10 AM, Petr Blahos <[email protected]> wrote:

> 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 stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to