Try something in your template like:

<A
href="$link.setPage("mytemplate.vm").setAction("FlashGordon").addPathInfo("e
ventSubmit_doExport","Submit!");">

The standard disclaimer - it's not been tested, but I don't see why that
wouldn't work.  That's the same as:

<FORM method="GET" action="$link.setPage("mytemplate.vm")">
<INPUT type="hidden" name="action" value="FlashGordon">
<!-- Other useful stuff -->
<INPUT type="submit" name="eventSubmit_doExport" value="Submit!">
</FORM>

Will Stranathan

----- Original Message -----
From: "Gopal Ramasammy-Cook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 4:35 AM
Subject: Invoking action events from anchor tags


Hi

Is it possible to invoke an action event from an anchor tag? I have spent
some time testing this but I have had no luck as yet. I have also searched
the mailing lists archives but found no articles dealing with what I want to
do.

The way I understand how action events work is that the form submit button
needs to be named "eventSubmit_methodName" but I can't simulate this for
anchor tags.

Has anyone got any ideas?

Karim




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]





------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to