Mark Ramm wrote:

> The fact that TurboGears turns incoming request prams into
> controller function params seems intuitive and smart to me.  But
> there are some limitations:
>
> * Function params must have asci string names
> * Function params can have only one value

I actually think the first problem is irrelevant.  As Diez suggests
later, this can be controlled by the developer, and I believe that
if the developer really needs non-ascii parameter names, they can
just take in `**params` rather than explicitly defining them in the
method.

The second problem is a genuine issue, and one that bit me just
today. I think that we should solve this at a higher level, and
parameters that have multiple values should just come through as a
list of the values.  I am working around this right now by using
`request.params` and it works fine for me for the time being.

--
Jonathan LaCour
http://cleverdevil.org


--~--~---------~--~----~------------~-------~--~----~
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