dmkarr 2002/11/14 20:22:30
Modified: doc/userGuide struts-html.xml
Log:
Added small clarification to "button" and "submit" to point to "image" if a
graphical button is desired.
Revision Changes Path
1.35 +13 -4 jakarta-struts/doc/userGuide/struts-html.xml
Index: struts-html.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- struts-html.xml 4 Nov 2002 00:34:37 -0000 1.34
+++ struts-html.xml 15 Nov 2002 04:22:30 -0000 1.35
@@ -74,9 +74,14 @@
<tagclass>org.apache.struts.taglib.html.ButtonTag</tagclass>
<info>
<p>
- Renders an HTML <input> element of type button, populated
- from the specified value or the content of this tag body. This
- tag is only valid when nested inside a form tag body.
+ Renders an HTML <input> element of type
+ <code>button</code>, populated from the specified value or the
+ content of this tag body. This tag is only valid when nested
+ inside a form tag body.
+ </p>
+ <p>
+ If a graphical button is needed (a button with an image), then the
+ <a href="#image"><code>image</code></a> tag is more appropriate.
</p>
</info>
@@ -5981,7 +5986,11 @@
</summary>
<tagclass>org.apache.struts.taglib.html.SubmitTag</tagclass>
<info>
- Render an input button of type submit.
+ Renders an HTML <input> element of type <code>submit</code>.
+ <p>
+ If a graphical button is needed (a button with an image), then the
+ <a href="#image"><code>image</code></a> tag is more appropriate.
+ </p>
</info>
<attribute>
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>