You *should* be able to use the Map approach.  Simply build a map whose keys are the 
expected parameter names and the corresponding values are the data you wish to send.  
For example:

<html:link forward="foo" property="params">Click Me!</html:link>

In your form bean, the getter getParams() returns a Map such as:

public Map getParams() {
  Map map = new Map();
  map.put("a", "apple");
  map.put("b", "boy");
  map.put("c", "cat");
  return map;
}

The action that is called will receive: ?a=apple&b=boy&c=cat

Sri

-----Original Message-----
From: Marcus Biel [mailto:Marcus.Biel@;bmw.de] 
Sent: Monday, November 04, 2002 9:00 AM
To: [EMAIL PROTECTED]
Subject: Re: <html:link with several dynamic parameters


Of course I already had a look at this page,
but I need several dynamic parameters, and about that nothing is told.

About the map:

I don't know how to exactly use it, plus I doubt I could use it, as the parameters I 
need are in different forms.

marcus

[EMAIL PROTECTED] schrieb:
> 
> Marcus,
> 
> Depending on which version of Struts you're using, check out:
> 
> http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#link
> 
> or
> 
> http://jakarta.apache.org/struts/userGuide/struts-html.html#link
> 
> Specifically, note that you can provide a Map that contains all of the 
> request parameters for the link.

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


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

Reply via email to