Salut,

If you want just execute your action (no submit the form), you cant use
the $jlink in your velocity template

ex:
href="$jlink.addPathInfo("eventSubmit_doSomething","")"

Xa.


-----Message d'origine-----
De : Chris Kimpton [mailto:[EMAIL PROTECTED]]
Envoye : mardi 19 mars 2002 23:57
A : Jetspeed Users List
Objet : Re: other mean to post changes in velocity portlet


Hi,

--- Pierre BESNARD <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am a new french user of jetspeed and I'm trying to build my first
> velocity porlet.

Welcome to the fun.

> I would like to know if it is possible to change a "submit button"
> with a simple link or an image with the same behaviour.
>
> for the moment, I have something like :
>
> <input type="submit" name="eventSubmit_doMethod" value="ok" />
>
> I just would like to change that with :
>
> <a href=$jlink ....>
>

To do textual href links that submit forms, I think you will need to
use javascript - ie the link calls a javascript function and that
does a form submit.

If you want an image link, then you can use <input type="image"...

HTH,
Chris

=====
http://www.soccer2002.org.uk - join in and win CA$H!

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
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