struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Koidin" <mkoi...@smartixs.com>
Subject html:link help
Date Tue, 12 Feb 2002 19:54:41 GMT
I have 3 <html:link> links on a page - they each direct to the same
action, but I'd like to specify a different parameter for each.

<html:link forward="action" value="parameter #1 />
<html:link forward="action" value="parameter #2 />
<html:link forward="action" value="parameter #3 />

Obviously, the value element doesn't exist. I was able to accomplish
this successfully using submit buttons...

<html:submit property="parameter" value="value #1" />
<html:submit property="parameter" value="value #2" />
<html:submit property="parameter" value="value #3" />
		
Using the above, I have a getParameter() method in my form that returns
the appropriate value. How do I do the same thing using <html:link> to
submit the form?

Thanks,
Matt

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


Mime
View raw message