click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bck...@apache.org
Subject svn commit: r964008 - /click/trunk/click/framework/src/org/apache/click/control/Radio.java
Date Wed, 14 Jul 2010 11:22:19 GMT
Author: bckfnn
Date: Wed Jul 14 11:22:18 2010
New Revision: 964008

URL: http://svn.apache.org/viewvc?rev=964008&view=rev
Log:
render tabindex attribute.

Modified:
    click/trunk/click/framework/src/org/apache/click/control/Radio.java

Modified: click/trunk/click/framework/src/org/apache/click/control/Radio.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/Radio.java?rev=964008&r1=964007&r2=964008&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/Radio.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/Radio.java Wed Jul 14 11:22:18
2010
@@ -364,6 +364,9 @@ public class Radio extends Field {
         } else {
             addStyleClass("error");
         }
+        if (getTabIndex() > 0) {
+            buffer.appendAttribute("tabindex", getTabIndex());
+        }
         if (isChecked()) {
             buffer.appendAttribute("checked", "checked");
         }



Mime
View raw message