Only if you are using a "ActionEvent" type action. Then you can set the
stuff in the url:
<a
href="$link.setPage("page.vm").setAction("theAction").addQueryData("eventSub
mit_doSomething", "Something")">link1</a>
I believe you could also use addPathInfo() if you so desire...
-----------------------------------------------------------------
Jeffrey D. Brekke Quad/Graphics
[EMAIL PROTECTED] http://www.qg.com
-----------------------------------------------------------------
> -----Original Message-----
> From: Scott Merritt [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 10, 2001 1:55 PM
> To: '[EMAIL PROTECTED]'
> Subject: Linking to an action?
>
>
> How do I take a simple <a href="$link.setPage("page.vm")">
> and point it to
> an Action? I've been doing it with forms but now I just want
> some simple
> image buttons to hit an action. That way I've seen in the
> examples you can
> do $link.setAction("theaction") but isn't it still relying on
> information
> from the name attribute in the submit button tag?
>
> Thanks..
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]