>> And request.params is a multidict, so it has all your values, with
>> nothing thrown away.
>
> Ah, ok. So it's essentially the J2EE-way.

Well, since it's a multidict, if you treat it as a dict you get only
the first value, but for anything where there might be multiple values
you just call params.getall('name').

Which IMHO makes more sense, because 90% of the time you want a single
value, and when you occasionally do want a list it's easy to get.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to