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/05/16 11:37:32 UTC

svn commit: r538502 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java

Author: weber
Date: Wed May 16 02:37:30 2007
New Revision: 538502

URL: http://svn.apache.org/viewvc?view=rev&rev=538502
Log:
TOBAGO-393 : Create OptimizedResponseWriter to move the non-standard-compliant optimization stuff to
  readd startElement(String), the missing of this method can break custom themes.

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java?view=diff&rev=538502&r1=538501&r2=538502
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java Wed May 16 02:37:30 2007
@@ -40,6 +40,14 @@
 
   public abstract void startElement(String name, UIComponent component) throws IOException;
 
+  /**
+   * @deprecated Use {@link #startElement(String, UIComponent) startElement(name, null)} instead.
+   */
+  @Deprecated
+  public void startElement(String name) throws IOException {
+    startElement(name, null);
+  }
+
   public abstract void endElement(String name) throws IOException;
 
   public abstract void write(String string) throws IOException;