You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jh...@apache.org on 2005/06/16 23:42:59 UTC

svn commit: r191010 - /struts/taglib/trunk/doc/userGuide/struts-html.xml

Author: jholmes
Date: Thu Jun 16 14:42:58 2005
New Revision: 191010

URL: http://svn.apache.org/viewcvs?rev=191010&view=rev
Log:
Updated docs.

PR:  Bugzilla #34460

Modified:
    struts/taglib/trunk/doc/userGuide/struts-html.xml

Modified: struts/taglib/trunk/doc/userGuide/struts-html.xml
URL: http://svn.apache.org/viewcvs/struts/taglib/trunk/doc/userGuide/struts-html.xml?rev=191010&r1=191009&r2=191010&view=diff
==============================================================================
--- struts/taglib/trunk/doc/userGuide/struts-html.xml (original)
+++ struts/taglib/trunk/doc/userGuide/struts-html.xml Thu Jun 16 14:42:58 2005
@@ -1052,7 +1052,8 @@
                 <bodycontent>empty</bodycontent>
                 <info>
                 <p>Displays a set of error messages prepared by a business
-                logic component and stored as an <code>ActionErrors</code>
+                logic component and stored as an <code>ActionMessages</code>
+                object, an <code>ActionErrors</code>
                 object, a String, or a String array in request scope.  If
                 such a bean is not found, nothing will be rendered.</p>
 
@@ -1075,6 +1076,10 @@
                 <li><strong>suffix</strong> - Text that will be rendered
                 after each individual error in the list (default "errors.suffix").</li>
                 </ul>
+                
+                <p>See the <code>messages</code> tag for an alternative to this tag that
+                    does not rely on HTML in your <code>MessageResources</code>.</p>
+
                 </info>
 
                 <attribute>
@@ -4295,7 +4300,10 @@
                 logic component and stored as an <code>ActionMessages</code>
                 object, <code>ActionErrors</code> object, a String,
                 or a String array in any scope.  If
-                such a bean is not found, nothing will be rendered.</p>
+                such a bean is not found, nothing will be rendered.  The messages are 
+                placed into the page scope in the body of this tag where they can be displayed 
+                by standard JSP methods. (For example: <code>&lt;bean:write&gt;</code>,<code>&lt;c:out&gt;</code>)
+                </p>
 
                 <p>In order to use this tag successfully, you must have
                 defined an application scope <code>MessageResources</code>



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