Is it possible to access an external method via a hyperlink? I am able to do that from a form: ------------------------------------------------------------------------- <form action=fshSetKat method=post> <input type=submit name=submit value=<dtml-var name> > <input type=hidden name=KategorieID value="<dtml-var KategorieID>" > </form> ------------------------------------------------------------------------- where fshSetKat is the name of the external method doing some database transactions but our client wishes to have a hyperlink instead of a submit button Thanks in advance for your help phil
On Fri, 26 Nov 1999, Philipp Auersperg wrote:
Is it possible to access an external method via a hyperlink?
Yes, including all zope public methods.
I am able to do that from a form:
------------------------------------------------------------------------- <form action=fshSetKat method=post> <input type=submit name=submit value=<dtml-var name> > <input type=hidden name=KategorieID value="<dtml-var KategorieID>" > </form>
http://ww.youraddress.com/fshSetKat?KategorieID=<your cat id> but it will no longer be hidden. if it is important that it should be hidden, you can either store it as a cookie, or store it on the filesystem.
participants (2)
-
Pavlos Christoforou -
Philipp Auersperg