Hi all has anyone a manual or a tutorial describing these mechanism? <input class="form-element" type="submit" name="some_method:method" value="Add" /> 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 any idea? TIA
It's discussed in the 2_6 edition of the Zope Book and also in Dieter's book on www.handshake.de. On Wed, 19 May 2004, Garito wrote:
Hi all has anyone a manual or a tutorial describing these mechanism?
<input class="form-element" type="submit" name="some_method:method" value="Add" />
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
any idea?
TIA
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Does your class method has the required security assertions and a doc string? -aj --On Mittwoch, 19. Mai 2004 17:54 Uhr +0200 Garito <garito@sistes.net> wrote:
Hi all has anyone a manual or a tutorial describing these mechanism?
<input class="form-element" type="submit" name="some_method:method" value="Add" />
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
any idea?
TIA
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
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
participants (4)
-
Andreas Jung -
Dennis Allison -
Dieter Maurer -
Garito