You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2017/04/28 03:18:22 UTC
svn commit: r1792975 -
/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java
Author: lu4242
Date: Fri Apr 28 03:18:22 2017
New Revision: 1792975
URL: http://svn.apache.org/viewvc?rev=1792975&view=rev
Log:
MYFACES-4114 Add disabled attribute to h:button
Modified:
myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java
Modified: myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java?rev=1792975&r1=1792974&r2=1792975&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java (original)
+++ myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java Fri Apr 28 03:18:22 2017
@@ -51,4 +51,15 @@ _TabindexProperty, _AltProperty, _RolePr
*/
@JSFProperty
public abstract String getImage();
+
+ /**
+ * When true, this element cannot receive focus.
+ *
+ * @since 2.3
+ * @return the new disabled value
+ */
+ @JSFProperty
+ (defaultValue = "false")
+ public abstract boolean isDisabled();
+
}