struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <j...@wendysmoak.com>
Subject Re: html:submit button
Date Thu, 08 Jul 2004 18:31:32 GMT
From: "Denis Avdic" <denis.avdic@gmail.com>
> Is there a way to separate those two?  I need 10 buttons, all the same
> label, but with different values submitted, depending on which button
> is pressed.   I am not sure how to achieve that with html:submit.
> Should I just throw in a regular <input> tag instead?

I have the same issue, only my buttons have images on them, and no label.  I
solved it with JavaScript, the onClick sets the form element to whatever
value I need, and that gets passed to the server.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message