myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r226770 - /myfaces/share/trunk/src/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTagBase.java
Date Mon, 01 Aug 2005 10:18:28 GMT
Author: mmarinschek
Date: Mon Aug  1 03:18:24 2005
New Revision: 226770

URL: http://svn.apache.org/viewcvs?rev=226770&view=rev
Log:
changed extensions.tld to work for swapImage again, slight changes in DataScroller to enable
subclassing

Modified:
    myfaces/share/trunk/src/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTagBase.java

Modified: myfaces/share/trunk/src/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTagBase.java
URL: http://svn.apache.org/viewcvs/myfaces/share/trunk/src/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTagBase.java?rev=226770&r1=226769&r2=226770&view=diff
==============================================================================
--- myfaces/share/trunk/src/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTagBase.java
(original)
+++ myfaces/share/trunk/src/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTagBase.java
Mon Aug  1 03:18:24 2005
@@ -39,6 +39,7 @@
 
     // HTML img attributes relevant for graphic-image
     private String _alt;
+    private String _border;
     private String _height;
     private String _ismap;
     private String _longdesc;
@@ -57,6 +58,7 @@
     public void release() {
         super.release();
         _alt=null;
+        _border = null;
         _height=null;
         _ismap=null;
         _longdesc=null;
@@ -72,6 +74,7 @@
         super.setProperties(component);
 
         setStringProperty(component, HTML.ALT_ATTR, _alt);
+        setStringProperty(component, HTML.BORDER_ATTR, _border);
         setStringProperty(component, HTML.HEIGHT_ATTR, _height);
         setBooleanProperty(component, HTML.ISMAP_ATTR, _ismap);
         setStringProperty(component, HTML.LONGDESC_ATTR, _longdesc);
@@ -87,6 +90,11 @@
     public void setAlt(String alt)
     {
         _alt = alt;
+    }
+    
+    public void setBorder(String border)
+    {
+        _border = border;
     }
 
     public void setHeight(String height)



Mime
View raw message