[jboss-cvs] jboss-seam/ui/src/main/java/org/jboss/seam/ui/renderkit ...
Peter Muir
peter at bleepbleep.org.uk
Wed Aug 1 08:28:18 EDT 2007
User: pmuir
Date: 07/08/01 08:28:18
Modified: ui/src/main/java/org/jboss/seam/ui/renderkit
ButtonRendererBase.java
Log:
JBSEAM-1686
Revision Changes Path
1.6 +4 -0 jboss-seam/ui/src/main/java/org/jboss/seam/ui/renderkit/ButtonRendererBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ButtonRendererBase.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/ui/src/main/java/org/jboss/seam/ui/renderkit/ButtonRendererBase.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- ButtonRendererBase.java 28 Jun 2007 15:29:45 -0000 1.5
+++ ButtonRendererBase.java 1 Aug 2007 12:28:18 -0000 1.6
@@ -87,6 +87,10 @@
writer.writeAttribute(HTML.DISABLED_ATTR, true, HTML.DISABLED_ATTR);
}
writer.writeAttribute(HTML.TYPE_ATTR, getType(button), HTML.TYPE_ATTR);
+ if (button.getImage() != null)
+ {
+ writer.writeAttribute(HTML.SRC_ATTR, button.getImage(), HTML.SRC_ATTR);
+ }
}
@Override
More information about the jboss-cvs-commits
mailing list