struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: html:submit button
Date Thu, 08 Jul 2004 18:31:32 GMT
From: "Denis Avdic" <>
> 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:
For additional commands, e-mail:

View raw message