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 2013/04/29 17:18:45 UTC
svn commit: r1477144 -
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
Author: lofwyr
Date: Mon Apr 29 15:18:44 2013
New Revision: 1477144
URL: http://svn.apache.org/r1477144
Log:
TOBAGO-1145: The tobago-deprecation.jar will be reduced in Tobago 2.0
Modified:
myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java?rev=1477144&r1=1477143&r2=1477144&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java Mon Apr 29 15:18:44 2013
@@ -134,19 +134,10 @@ public abstract class TobagoResponseWrit
/**
* Write the class attribute. The value will not escaped.
- * <br/>
- * <b>Note:</b> For backward compatibility the value of the Attribute
- * <code>{@link org.apache.myfaces.tobago.component.Attributes#STYLE_CLASS}</code>
- * will be inserted additionally. This function will be removed in later releases.
* @param classes The abstract representation of the css class string, normally created by the renderer.
*/
public void writeClassAttribute(Classes classes) throws IOException {
- String styleClasses = getStyleClasses();
- String stringValue = classes.getStringValue();
- if (styleClasses != null) {
- stringValue += " " + styleClasses;
- }
- writeAttribute(HtmlAttributes.CLASS, stringValue, false);
+ writeAttribute(HtmlAttributes.CLASS, classes.getStringValue(), false);
}
@Deprecated