struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anna Englund <>
Subject using link with multiple dynamic parameters
Date Mon, 01 Oct 2001 10:16:07 GMT

my problem is as follows:
I would like to use the <html:link> tag with multiple
dynamic parameters. I've tried to use the a
java.util.Map, but it seems to handle only fixed
values. Please, correct me if I'm wrong. 

In the example I'm iterating through a company list. I
create two links for each company in the list. The
first retrieves sets the company id in the companyID
parameter. The second creates a link with the company
name in the companyName parameter. Now, the question,
how do I  create a link with both parameters in the
same link? I would like to create a link as below for
each company in the list:
 <logic:iterate name="companyList" id="company">
    <html:link forward="viewCompany"
paramID="companyID" paramName="company"
    <bean:write name="company"
    <html:link forward="viewCompany"
paramID="companyName" paramName="company"
    <bean:write name="company"

The global action forward viewCompany equals

Any help and hints would be appreciated.

Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.

View raw message