[Zope] :method mechanism

Dieter Maurer dieter at handshake.de
Wed May 19 17:33:57 EDT 2004


Garito wrote at 2004-5-19 17:54 +0200:
>has anyone a manual or a tutorial describing these mechanism?
>
><input class="form-element" type="submit" name="some_method:method"
>value="Add" />

There is a terse (!) description in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

>I try to use it in my product but I have some really surprising result:
>
>If some_method is a python script it works perfectly but if I put it in my
>class definition it doesn't work

???

When your method is callable via an URL, it will be callable
via a ":method" request parameter.
All ":method" does it extending the effective URL by the given
method...

-- 
Dieter



More information about the Zope mailing list