On Dec 8, 2006, at 11:51 AM, remi jolin wrote:

>
> Hello,
>
> I have a form with a MultipleSelectField(validator=validators.Int()),
> options are something like [(1, "aaa"), (2, "bbb"), ...]
> If I select a single element I get an integer. That's OK.
> But, if I select multiple elements, I get a list of strings like  
> [u'1',
> u'2'] where I was hopping to get [1, 2].
>
> Is it the standard behaviour ?

No. You should be geting a list of ints. It might be a bug... :( Can  
you send some code that reproduces this problem (a test case that  
could be included in the widgets' test suite would be awesome) so I  
can check it out?

Thanks :)

Alberto

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to