craigmcc 01/04/19 14:09:31
Modified: src/share/org/apache/struts/taglib/html ImageTag.java
Log:
Correctly save the value of the altKey property setter.
PR: Bugzilla #1155
Submitted by: Howard Moore <[EMAIL PROTECTED]>
Revision Changes Path
1.8 +5 -5
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.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ImageTag.java 2001/04/03 19:18:59 1.7
+++ ImageTag.java 2001/04/19 21:09:30 1.8
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/ImageTag.java,v 1.7
2001/04/03 19:18:59 craigmcc Exp $
- * $Revision: 1.7 $
- * $Date: 2001/04/03 19:18:59 $
+ * $Header:
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/ImageTag.java,v 1.8
2001/04/19 21:09:30 craigmcc Exp $
+ * $Revision: 1.8 $
+ * $Date: 2001/04/19 21:09:30 $
*
* ====================================================================
*
@@ -81,7 +81,7 @@
* Tag for input fields of type "image".
*
* @author Oleg V Alexeev
- * @version $Revision: 1.7 $ $Date: 2001/04/03 19:18:59 $
+ * @version $Revision: 1.8 $ $Date: 2001/04/19 21:09:30 $
*/
public class ImageTag extends SubmitTag {
@@ -123,7 +123,7 @@
}
public void setAltKey(String altKey) {
- this.altKey = null;
+ this.altKey = altKey;
}