[ZPT] Action

Florent Guillaume fg@nuxeo.com
Fri, 21 Mar 2003 13:50:51 +0100


In article <024601c2ee27$c31454e0$b36da8c0@uz.kuleuven.ac.be> you write:
> How do most of you handle the usage of the action parameter with multiple
> submit buttons in a form with ZPT?
> Or what are the alternatives you use?  One python script which looks for
> some information to determine which action is needed?

Usually I find that :method (which is synonymous with the old :action)
leads to confusing URLs. I prefer a single python script that
discriminates using the name of the submit button itself to decide what
to do.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com