myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r482394 - /myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/OutRenderer.java
Date Mon, 04 Dec 2006 22:39:59 GMT
Author: bommel
Date: Mon Dec  4 14:39:57 2006
New Revision: 482394

URL: http://svn.apache.org/viewvc?view=rev&rev=482394
Log:
(TOBAGO-207) The id attribute of the tc:out tag is not rendered into the html code

Modified:
    myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/OutRenderer.java

Modified: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/OutRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/OutRenderer.java?view=diff&rev=482394&r1=482393&r2=482394
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/OutRenderer.java
(original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/OutRenderer.java
Mon Dec  4 14:39:57 2006
@@ -54,7 +54,9 @@
         component, ATTR_CREATE_SPAN);
 
     if (createSpan) {
+      String id = component.getClientId(facesContext);
       writer.startElement(HtmlConstants.SPAN, component);
+      writer.writeIdAttribute(id);
       writer.writeAttribute(HtmlAttributes.STYLE, null, ATTR_STYLE);
       writer.writeComponentClass();
       writer.writeAttribute(HtmlAttributes.TITLE, null, ATTR_TIP);



Mime
View raw message