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/07/30 17:18:09 UTC

svn commit: r799321 - in /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago: TobagoConstants.java component/Attributes.java taglib/component/PageTagDeclaration.java

Author: lofwyr
Date: Thu Jul 30 15:18:08 2009
New Revision: 799321

URL: http://svn.apache.org/viewvc?rev=799321&view=rev
Log:
TOBAGO-777: Doctype attribute of tc:page should be removed

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java?rev=799321&r1=799320&r2=799321&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java Thu Jul 30 15:18:08 2009
@@ -121,9 +121,6 @@
   public static final String ATTR_DISABLED = "disabled";
   /** @deprecated Please use Attributes instead. Will be removed after Tobago 1.1 */
   @Deprecated
-  public static final String ATTR_DOCTYPE = "doctype";
-  /** @deprecated Please use Attributes instead. Will be removed after Tobago 1.1 */
-  @Deprecated
   public static final String ATTR_ENCTYPE = "enctype";
   /** @deprecated Please use Attributes instead. Will be removed after Tobago 1.1 */
   @Deprecated

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java?rev=799321&r1=799320&r2=799321&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java Thu Jul 30 15:18:08 2009
@@ -45,7 +45,6 @@
   public static final String DELAY = "delay";
   public static final String DIRECT_LINK_COUNT = "directLinkCount";
   public static final String DISABLED = "disabled";
-  public static final String DOCTYPE = "doctype";
   public static final String ENCTYPE = "enctype";
   public static final String ESCAPE = "escape";
   public static final String EXPANDED = "expanded";

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java?rev=799321&r1=799320&r2=799321&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java Thu Jul 30 15:18:08 2009
@@ -48,19 +48,6 @@
 
 public interface PageTagDeclaration
     extends HasLabel, HasId, HasBinding, HasState, IsGridLayoutComponentWithDeprecatedDimension {
-  /**
-   * Possible values for doctype are:
-   * <dl>
-   * <dt>strict</dt><dd>HTML 4.01 Strict DTD</dd>
-   * <dt>loose</dt><dd>HTML 4.01 Transitional DTD</dd>
-   * <dt>frameset</dt><dd>HTML 4.01 Frameset DTD</dd>
-   * </dl>
-   * All other values are ignored and no DOCTYPE is set.
-   * The default value is 'strict'.
-   */
-  @TagAttribute
-  @UIComponentTagAttribute(defaultValue = "strict")
-  void setDoctype(String doctype);
 
   /**
    * Contains the id of the component wich should have the focus after