[Grok-dev] sources in forms - multiple select

Thomas Bellembois thomas.bellembois at gmail.com
Thu Aug 20 03:55:24 EDT 2009


Hello Jeroen,

I want to build a select where I can select more than one value like you 
would do with checkboxes.

Thomas

Jeroen Michiel wrote:
> What exactly do you mean with 'multiple select'?
> To be able to select the same value multiple times?
> If that's the case? I don't know either because I had the same issue a few
> months back.
> There is a 'unique' parameter that you can specify in your schema
> definition, but it apparently is not taken into account. whether that's a
> bug or a todo in the widget, I'm not sure...
>
> Can someone else shine a light on this?
>
>
> Thomas Bellembois-3 wrote:
>   
>> Hello,
>>
>> I have successfully applied this tutorial to my project:
>> http://grok.zope.org/documentation/how-to/using-sources-in-your-forms
>>
>> How can we make it with multiple select ? I have tried with a 
>> "zope.schema.Set" but I have an error (object not iterable).
>>
>> Regards,
>>
>> Thomas
>> _______________________________________________
>> Grok-dev mailing list
>> Grok-dev at zope.org
>> http://mail.zope.org/mailman/listinfo/grok-dev
>>
>>
>>     
>
>   



More information about the Grok-dev mailing list