On 29 Jan 2008, at 11:06, Dmitry Lipovoi wrote:

>
> also in routes it's possible to config one url to diffetent actions on
> GET and POST requests.
> something like this:
>
> m.connect('myform', controller='form', action='handle_form',
> conditions=dict(method=['POST']))
> m.connect('myform', controller='form', action='show_form'))
>

Sure, it's possible, but what's really bugging me is that this has to  
be worked around in the first place ;)

In my opinion, it should be *default* do the right thing, which is to  
have one exposed url for a form. Or at least, the documentation should  
be altered or extended so that the one-url way of doing things is  
prominent.

Basically, what I'm saying is I think @validate is broken and should  
be fixed, irrespective of any work-arounds that exist.

Cheers,

Steven


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

Reply via email to