You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2007/09/10 15:04:14 UTC
svn commit: r574232 -
/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LinkRenderer.java
Author: weber
Date: Mon Sep 10 06:04:13 2007
New Revision: 574232
URL: http://svn.apache.org/viewvc?rev=574232&view=rev
Log:
<http://issues.apache.org/jira/browse/TOBAGO-483> tip on link image did not work in IE
Modified:
myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LinkRenderer.java
Modified: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LinkRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LinkRenderer.java?rev=574232&r1=574231&r2=574232&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LinkRenderer.java (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LinkRenderer.java Mon Sep 10 06:04:13 2007
@@ -97,10 +97,11 @@
} else {
image = ResourceManagerUtil.getImageWithPath(facesContext, image, helper);
}
- writer.startElement(HtmlConstants.IMG, null);
+ writer.startElement(HtmlConstants.IMG, command);
writer.writeAttribute(HtmlAttributes.SRC, image, true);
writer.writeAttribute(HtmlAttributes.ALT, "", false);
writer.writeAttribute(HtmlAttributes.BORDER, 0); // TODO: is border=0 setting via style possible?
+ writer.writeAttributeFromComponent(HtmlAttributes.TITLE, ATTR_TIP);
writer.endElement(HtmlConstants.IMG);
}