[Zope] how to access an external method via a hyperlink

Philipp Auersperg zope@philosoft.at
Fri, 26 Nov 1999 22:29:56 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0074_01BF385D.C4393260
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Is it possible to access an external method via a hyperlink?

I am able to do that from a form:

-------------------------------------------------------------------------=

<form action=3DfshSetKat method=3Dpost>
<input type=3Dsubmit name=3Dsubmit value=3D<dtml-var name> >
<input type=3Dhidden name=3DKategorieID value=3D"<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


------=_NextPart_000_0074_01BF385D.C4393260
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Is it possible to access an external =
method via a=20
hyperlink?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am able to do that from a =
form:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
---------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;form action=3DfshSetKat=20
method=3Dpost&gt;<BR>&lt;input type=3Dsubmit name=3Dsubmit =
value=3D&lt;dtml-var name&gt;=20
&gt;<BR>&lt;input type=3Dhidden name=3DKategorieID value=3D"&lt;dtml-var =

KategorieID&gt;" &gt;<BR>&lt;/form&gt;<BR>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
---------</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>where fshSetKat is the name of the =
external method=20
doing some database transactions</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>but our client wishes to have a =
hyperlink instead=20
of a submit button</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance for your =
help</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>phil</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT></BODY></HTML>

------=_NextPart_000_0074_01BF385D.C4393260--