are you trying to create html links for all items in foos ? if so, you'll
need
 <logic:iterate> tags surrounding your html:link tags.
 And i think you mean name="foos" property="params.2"

-----Original Message-----
From: Brian Buckley [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 9:55 AM
To: Struts Users
Subject: html:link and array


Hello,

I've have an array of Foo (Foo[]) in requestScope under the name "foos".
Foo has a getParams() method that returns a Map.

The following is not working.

<html:link page="..." name="foos[2]" property="params">...</html:link>

What is the correct syntax to use a specific array element in a html:link ?

Brian




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to