myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1792975 - /myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java
Date Fri, 28 Apr 2017 03:18:22 GMT
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();
+
 }



Mime
View raw message