craigmcc 01/03/06 09:09:31
Modified: src/doc struts-bean.xml
Log:
Document the JSP spec restriction that "id" cannot be used more than once.
Submitted by: Howard Moore <[EMAIL PROTECTED]>
PR: Bugzilla #713
Revision Changes Path
1.20 +6 -0 jakarta-struts/src/doc/struts-bean.xml
Index: struts-bean.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/src/doc/struts-bean.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- struts-bean.xml 2001/02/13 01:56:05 1.19
+++ struts-bean.xml 2001/03/06 17:09:29 1.20
@@ -142,6 +142,12 @@
if a bean was actually created.</li>
</ul>
+ <p><strong>USAGE NOTE</strong> - There is a restriction in the JSP 1.1
+ Specification that disallows using the same value for an <code>id</code>
+ attribute more than once in a single JSP page. Therefore, you will not
+ be able to use <code><bean:define></code> for the same bean
+ name more than once in a single page.</p>
+
<p>See the Bean Developer's Guide section on
<a href="api/org/apache/struts/taglib/bean/package-summary.html#doc.Creation">
bean creation</a> for more information about these differences, as well