Using the nested version of tags rather than html and logic worked for me.

See http://www.keyboardmonkey.com/next/index.jsp, they have some examples

and the normal Struts how-tos.

Nigel Furber


-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Peter Wu
Sent: 02 February 2005 20:41
To: user@struts.apache.org
Subject: Re: Indexed Properties


Peter Wu <peter.ying.wu <at> gmail.com> writes:

> <html:select property="project[0]">
>              <html:option value="a">0-19</html:option>
>              <html:option value="b">20-49</html:option>
>              <html:option value="c">50-</html:option>
>            </html:select>

This one works fine now.

> </td>
> <td><html:text property="hour[0][0]"/></td>

hour[i][j] does not work.


How to make a 2-dimensional array work with Struts? Thanks in advance!


Peter


---------------------------------------------------------------------
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