> However I totally disagree with the proposed solution of passing only one
> parameter value!!! This opens up a whole can of worms. It will introduce
> subtle errors that stem from re-ordered input fields in HTML-forms as well as
> browser and HTTP-request-parsing implementations.
Well, this is the standard behavior of webob and pylons in the same
way that the old way was the standard behavior for CherryPy. So,
it's not so much that I'm proposing this as a solution, as it's a
default that we'd have to deviate from.
The difference being that webob and pylons give you a params MultiDict
directly, not as parameters to your python function.
One possibility that I've been contemplating is a @no_params decorator
that you can use if you don't care if the incoming parameters are
passed to your function, and you just want to use the params MultiDict
directly. Of course we could do both this and create an
@as_list('value1', 'value2') like decorator (which is one proposal).
--Mark
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---