incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r463332 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
Date Thu, 12 Oct 2006 17:22:40 GMT
Author: awiner
Date: Thu Oct 12 10:22:39 2006
New Revision: 463332

URL: http://svn.apache.org/viewvc?view=rev&rev=463332
Log:
Support the 'disabled' attribute on h:commandLink, added in JSF 1.2

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java?view=diff&rev=463332&r1=463331&r2=463332
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
Thu Oct 12 10:22:39 2006
@@ -107,6 +107,13 @@
       {
         return toString(component.getAttributes().get("style"));
       }
+
+
+      @Override
+      protected boolean getDisabled(FacesBean bean)
+      {
+        return Boolean.TRUE.equals(component.getAttributes().get("disabled"));
+      }
     };
   }
 }



Mime
View raw message