jholmes 2002/10/16 12:51:56
Modified: doc/userGuide struts-html.xml
src/share/org/apache/struts/taglib/html ImageTag.java
Log:
mark "align" attribute of html:image tag as deprecated
PR: Bugzilla #12023
Revision Changes Path
1.28 +3 -0 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.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- struts-html.xml 12 Oct 2002 22:38:38 -0000 1.27
+++ struts-html.xml 16 Oct 2002 19:51:55 -0000 1.28
@@ -2275,6 +2275,9 @@
<rtexprvalue>true</rtexprvalue>
<info>
<p>The alignment option for this image.</p>
+ <p>The alignment option for this image. The align attribute is
+ deprecated in HTML 4.x. The suggested alternative is to use CSS.
+ Please see
http://www.w3.org/TR/REC-html40/struct/objects.html#h-13.7.4 for more details.</p>
</info>
</attribute>
1.19 +10 -4
jakarta-struts/src/share/org/apache/struts/taglib/html/ImageTag.java
Index: ImageTag.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/ImageTag.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ImageTag.java 23 Sep 2002 05:13:43 -0000 1.18
+++ ImageTag.java 16 Oct 2002 19:51:56 -0000 1.19
@@ -90,10 +90,16 @@
*/
protected String align = null;
+ /**
+ * @deprecated Align attribute is deprecated in HTML 4.x.
+ */
public String getAlign() {
return (this.align);
}
+ /**
+ * @deprecated Align attribute is deprecated in HTML 4.x.
+ */
public void setAlign(String align) {
this.align = align;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>