Re: [Repoze-dev] Can I set an HTTP METHOD in View Configuration ?

2010-03-18 Thread Chris McDonough
You can't specify more than one method per view tag, but this will work: view context=.models.Hello view=.views.hello_world name=hello.html request_method=GET / view context=.models.Hello view=.views.hello_world name=hello.html

Re: [Repoze-dev] Can I set an HTTP METHOD in View Configuration ?

2010-03-18 Thread Stéphane Klein
Le 18/03/2010 14:51, Stéphane Klein a écrit : Hi, I would like do something like that in View Configuration via ZCML : view context=.models.Hello view=.views.hello_world name=hello.html method=GET,POST / I don't want execute this view if request method is

Re: [Repoze-dev] Can I set an HTTP METHOD in View Configuration ?

2010-03-18 Thread Stéphane Klein
Le 18/03/2010 14:51, Stéphane Klein a écrit : Hi, I would like do something like that in View Configuration via ZCML : view context=.models.Hello view=.views.hello_world name=hello.html method=GET,POST / I don't want execute this view if request method is