on 2/2/01 2:35 AM, "Gopal Ramasammy-Cook" <[EMAIL PROTECTED]> wrote:
> 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
<a
href="$link.setPage("foo.vm").setAction("Bar").addPathInfo("eventSubmit_meth
odName", "button_name")">Click Me</a>
What you need to realize is that Turbine's ParameterParser class treats
GET/POST/PATH_INFO all the same. It is simple name=value pairs. All that
Turbine is looking for is something like this:
eventsubmit_doRegister=Register
-jon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]