But give this a bash...
<nested:iterate property="variablesThatProducedErrors">
<nested:write property="name"/>
<nested:write property="value"/>
</nested:iterate>
...the nested tags don't need the "name" properties in the child tags. It's all sorted out by the parent tags.
If the above doesn't work, please post the response to the struts-user list. Many more people to help you solve your problem sooner.
Arron.
Jerred Wilson wrote:
Sorry, here's the jsp tags:
<nested:iterate id="element" property = "variablesThatProducedErrors">
<td>
<bean:write name=element property ="name"/>
<nested:write name="element" property = "value"/>
</td>
</nested:iterate>
-----Original Message-----
From: Jerred Wilson Sent: Friday, October 25, 2002 8:06 AM
To: 'Struts Developers List'
Subject: nested:iterate with a HashMap
I'm trying to use the <nested:iterate> tag to iterate through a HashMap. The <logic:iterate> documentation shows that I should be able to use the following to do so, but I always get the error:
java.lang.IllegalArgumentException: Property 'variablesThatProducedErrors' is not indexed
where 'variablesThatProducedErrors is a Map'.
Why doesn't this work? Does anyone have this working?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:husted@;apache.org]
Sent: Friday, October 25, 2002 7:51 AM
To: [EMAIL PROTECTED]
Subject: cvs commit: jakarta-struts/doc status.xml
husted 2002/10/25 05:50:32
Modified: doc status.xml
Log:
+ Add note to Roadmap where we can document updating the Website from CVS.
Revision Changes Path
1.5 +5 -1 jakarta-struts/doc/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/status.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- status.xml 20 Oct 2002 17:06:08 -0000 1.4
+++ status.xml 25 Oct 2002 12:50:32 -0000 1.5
@@ -106,4 +106,8 @@
</ul>
</section>
+<section>
+<p><font size="-2">Website updated from CVS: 2002 OCT 25 by husted.</font></p>
+</section>
+
</chapter></body></document>
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>
-- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>