You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ar...@apache.org on 2002/05/13 04:54:28 UTC

cvs commit: jakarta-struts/doc/userGuide struts-logic.xml

arron       02/05/12 19:54:28

  Modified:    doc/userGuide struts-logic.xml
  Log:
  Docco for bug fix 7313.
  
  Revision  Changes    Path
  1.5       +5 -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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- struts-logic.xml	22 Apr 2002 19:48:13 -0000	1.4
  +++ struts-logic.xml	13 May 2002 02:54:28 -0000	1.5
  @@ -78,8 +78,9 @@
       <bodycontent>JSP</bodycontent>
       <info>
       <p>[Since 1.1] This tag evaluates its nested body content only if the specified value
  -    is either absent (i.e. <code>null</code>) or an empty string (i.e. a
  -    <code>java.lang.String</code> with a length of zero).</p>
  +    is either absent (i.e. <code>null</code>), an empty string (i.e. a
  +    <code>java.lang.String</code> with a length of zero) or an empty java.util.Collection
  +    (tested by the .isEmpty() method on the java.util.Collection interface).</p>
       </info>
   
       <attribute>
  @@ -1005,7 +1006,8 @@
       <name>notEmpty</name>
       <summary>
       Evaluate the nested body content of this tag if the requested variable is
  -    neither <code>null</code> nor an empty string.
  +    neither <code>null</code>, nor an empty string, nor an empty java.util.Collection
  +    (tested by the .isEmpty() method on the java.util.Collection interface).
       </summary>
       <tagclass>org.apache.struts.taglib.logic.NotEmptyTag</tagclass>
       <bodycontent>JSP</bodycontent>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>