I haven't tried it but I think what is being said is this:

Your url would need the following done to it:
$link.setPage("MyPage.vm").setAction("myAction").addQueryData("eventSubmit_d
oMymethod", "DoSomething")

Now after reading this I'm not sure, but the last part "DoSomething"
wouldn't be necessary as the actual value of the button is ignored, so it
might be possible to leave this as a blank string, unless you wanted to add
more at the end.

Let me know if I'm way off base as this is something that I would like to do
as well.

-warner

----- Original Message -----
From: "Colm McCartan" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 23, 2001 10:24 AM
Subject: Re: How to use Action Event not from a form post


> 23/11/2001 17:11:16, Jason van Zyl <[EMAIL PROTECTED]> wrote:
>
> >On 11/23/01 12:05 PM, "Pugh, Eric" <[EMAIL PROTECTED]> wrote:
> >
> >> I thought of that solution, but I am wary of creating tons of actions
that
> >> can't be easily organized (just dumped in one large directory).
> >>
> >> What I did was have my A HREF link have an action=doDiff parameter.
Then in
> >> doPerform I checkfor the existance of the action parameter, and then
> >> delegate to the doDiff method.
> >>
> >> If I added a parameter eventSubmit_dodiff, would that work, instead of
going
> >> through doPerform?
> >>
> >> Something like submit.x=eventSubmit_dodiff?
> >
> >http://jakarta.apache.org/turbine/turbine-2/howto/action-event-howto.html
>
> Perhaps I'm being dim but I don't see this particular question addressed
in that
> document...?
>
> The document states: "Turbine has a very useful feature that makes
handling form
> submission much more painless for the developer."
>
> This isn't a form.
>
> colm
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to