You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ws...@apache.org on 2005/10/25 04:29:24 UTC

svn commit: r328239 - /struts/taglib/trunk/src/tld/struts-logic.tld

Author: wsmoak
Date: Mon Oct 24 19:29:15 2005
New Revision: 328239

URL: http://svn.apache.org/viewcvs?rev=328239&view=rev
Log:
Updated docs for messagesPresent and messagesNotPresent to match <html:messages>.  Messages can be stored in any scope.

Modified:
    struts/taglib/trunk/src/tld/struts-logic.tld

Modified: struts/taglib/trunk/src/tld/struts-logic.tld
URL: http://svn.apache.org/viewcvs/struts/taglib/trunk/src/tld/struts-logic.tld?rev=328239&r1=328238&r2=328239&view=diff
==============================================================================
--- struts/taglib/trunk/src/tld/struts-logic.tld (original)
+++ struts/taglib/trunk/src/tld/struts-logic.tld Mon Oct 24 19:29:15 2005
@@ -956,14 +956,14 @@
 <![CDATA[
             <p><strong>
     Generate the nested body content of this tag if the specified
-    message is not present in this request.
+    message is not present in any scope.
     </strong></p>
           
     <p>Evaluates the nested body content of this tag if
        an <code>ActionMessages</code>
        object, <code>ActionErrors</code> object, a String,
-       or a String array is not in request scope.  If
-       such a bean is not found, nothing will be rendered.
+       or a String array is not present in any scope.  If
+       such a bean is found, nothing will be rendered.
     </p>
     
             <dl><dt><b>Since:</b></dt>
@@ -976,8 +976,9 @@
             <rtexprvalue>true</rtexprvalue>
             <description>
 <![CDATA[
-      <p>The parameter key to retrieve the message from request scope.</p>
-      ]]>
+      <p>The parameter key used to retrieve the message from page, request,
+      session or application scope.</p>
+      ]]> 
       </description>
         </attribute>
         <attribute>
@@ -999,9 +1000,9 @@
             <rtexprvalue>true</rtexprvalue>
             <description>
 <![CDATA[
-      <p>By default the tag will retrieve the request scope bean it will
+      <p>By default the tag will retrieve the bean it will
          iterate over from the <code>Globals.ERROR_KEY</code> constant string,
-         but if this attribute is set to 'true' the request scope bean
+         but if this attribute is set to 'true' the bean
          will be retrieved from the <code>Globals.MESSAGE_KEY</code>
          constant string.  Also if this is set to 'true', any value
          assigned to the name attribute will be ignored.
@@ -1018,13 +1019,13 @@
 <![CDATA[
             <p><strong>
     Generate the nested body content of this tag if the specified
-    message is present in this request.
+    message is present in any scope.
     </strong></p>
           
     <p>Evaluates the nested body content of this tag if
        an <code>ActionMessages</code>
        object, <code>ActionErrors</code> object, a String,
-       or a String array is in request scope.  If
+       or a String array is present in any scope.  If
        such a bean is not found, nothing will be rendered.
     </p>
     
@@ -1038,7 +1039,8 @@
             <rtexprvalue>true</rtexprvalue>
             <description>
 <![CDATA[
-      <p>The parameter key to retrieve the message from request scope.</p>
+      <p>The parameter key used to retrieve the message from page, request, 
+      session, or application scope.</p>
       ]]>
       </description>
         </attribute>
@@ -1061,9 +1063,9 @@
             <rtexprvalue>true</rtexprvalue>
             <description>
 <![CDATA[
-      <p>By default the tag will retrieve the request scope bean it will
+      <p>By default the tag will retrieve the bean it will
          iterate over from the <code>Globals.ERROR_KEY</code> constant string,
-         but if this attribute is set to 'true' the request scope bean
+         but if this attribute is set to 'true' the bean
          will be retrieved from the <code>Globals.MESSAGE_KEY</code>
          constant string.  Also if this is set to 'true', any value
          assigned to the name attribute will be ignored.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org