You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/11/12 10:19:11 UTC
svn commit: r835310 -
/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LabelRenderer.java
Author: lofwyr
Date: Thu Nov 12 09:19:09 2009
New Revision: 835310
URL: http://svn.apache.org/viewvc?rev=835310&view=rev
Log:
comments
Modified:
myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LabelRenderer.java
Modified: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LabelRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LabelRenderer.java?rev=835310&r1=835309&r2=835310&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LabelRenderer.java (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/LabelRenderer.java Thu Nov 12 09:19:09 2009
@@ -45,7 +45,7 @@
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException {
UILabel output = null;
- // todo: remove after 1.5.0
+ // todo: remove test after 1.5.0, then UILabel is required
if (component instanceof UILabel) {
output = (UILabel) component;
} else {
@@ -64,7 +64,7 @@
writer.startElement(HtmlConstants.DIV, component);
HtmlRendererUtils.renderDojoDndItem(component, writer, true);
writer.writeClassAttribute();
- // todo: remove after 1.5.0 (see start of method)
+ // todo: remove after 1.5.0 (see begin of method)
if (output != null) {
Style style = new Style(facesContext, output);
writer.writeStyleAttribute(style);