rleland 02/04/22 12:25:53
Modified: doc/userGuide struts-logic.xml taglib_struts-logic-ref.xml
Log:
Bug#7250
Update Iterate Docs for primative types
Contributed by [EMAIL PROTECTED]
Revision Changes Path
1.3 +2 -3 jakarta-struts/doc/userGuide/struts-logic.xml
Index: struts-logic.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-logic.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- struts-logic.xml 16 Mar 2002 03:00:44 -0000 1.2
+++ struts-logic.xml 22 Apr 2002 19:25:52 -0000 1.3
@@ -452,9 +452,8 @@
<p>The collection to be iterated over MUST conform to one of the following
requirements in order for iteration to be successful:</p>
- <ul>
- <li>An array of Java objects (but not primitive data types such as
- "int")</li>
+ <ul><li>An array of Java objects or primitves.</li>
+
<li>An implementation of <code>java.util.Collection</code>, including
<code>ArrayList</code> and <code>Vector</code>.</li>
<li>An implementation of <code>java.util.Enumeration</code>.</li>
1.2 +2 -5 jakarta-struts/doc/userGuide/taglib_struts-logic-ref.xml
Index: taglib_struts-logic-ref.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/taglib_struts-logic-ref.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- taglib_struts-logic-ref.xml 17 Sep 2001 19:57:36 -0000 1.1
+++ taglib_struts-logic-ref.xml 22 Apr 2002 19:25:52 -0000 1.2
@@ -453,8 +453,8 @@
<p>The collection to be iterated over MUST conform to one of the following
requirements in order for iteration to be successful:</p>
<ul>
- <li>An array of Java objects (but not primitive data types such as
- "int")</li>
+ <li>An array of Java objects or primitves.</li>
+
<li>An implementation of <code>java.util.Collection</code>, including
<code>ArrayList</code> and <code>Vector</code>.</li>
<li>An implementation of <code>java.util.Enumeration</code>.</li>
@@ -489,9 +489,6 @@
iteration. You can use the <code><logic:present></code> and
<code><logic:notPresent></code> tags to test for this case.</p>
- <p><strong>WARNING</strong> - Currently, this tag cannot deal with
- arrays of primitive data types. Only arrays of Java objects (including
- Strings) are supported.</p>
</info>
<attribute>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>