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/27 13:33:57 UTC
svn commit: r884859 - in
/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl:
HasCommandType.java HasLabelWithAccessKey.java
Author: lofwyr
Date: Fri Nov 27 12:33:57 2009
New Revision: 884859
URL: http://svn.apache.org/viewvc?rev=884859&view=rev
Log:
Add deprecation info.
Modified:
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java?rev=884859&r1=884858&r2=884859&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java Fri Nov 27 12:33:57 2009
@@ -25,10 +25,22 @@
*/
public interface HasCommandType {
/**
+ * <p>
* Type of command component to create. Valid values are 'navigate', 'reset',
* 'script' or 'submit'.
* If not specified, or not a valid value,
* the default value is 'submit' is used.
+ * </p>
+ * <p>
+ * Deprecation info:
+ * <ul>
+ * <li>Instead of 'navigate' please use the link attribute.</li>
+ * <li>Instead of 'script' please use the onclick attribute.</li>
+ * <li>'submit' is the default, so you can omit it.</li>
+ * <li>'reset' should not be used, but can emulated by the application (e.g. cancel button).</li>
+ * </ul>
+ * </p>
+ *
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "submit")
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java?rev=884859&r1=884858&r2=884859&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java Fri Nov 27 12:33:57 2009
@@ -40,7 +40,7 @@
/**
- * Deprecated! Has not longer any function.
+ * Deprecated! Has not longer any function. See label attribute.
*
* @deprecated
*/