You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by bc...@apache.org on 2010/07/14 13:22:19 UTC
svn commit: r964008 -
/click/trunk/click/framework/src/org/apache/click/control/Radio.java
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");
}