Author: gmaksimenko
Date: 2008-04-29 08:57:33 -0400 (Tue, 29 Apr 2008)
New Revision: 8301
Modified:
trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
Log:
Erase tests for maxlegth and alt
Modified: trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-29 12:57:22
UTC (rev 8300)
+++ trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-29 12:57:33
UTC (rev 8301)
@@ -30,7 +30,6 @@
public String requiredMessage;
public boolean rendered;
public boolean selectFirstOnUpdate;
- public int maxlength;
public boolean enableManualInput;
public String listHeight;
public String listWidth;
@@ -39,8 +38,17 @@
private String bindLabel;
private String align;
private String alt;
+ private String accesskey;
+ public String getAccesskey() {
+ return accesskey;
+ }
+
+ public void setAccesskey(String accesskey) {
+ this.accesskey = accesskey;
+ }
+
public Combobox() {
this.disabled = false;
this.defaultLabel = "defaultLabel";
@@ -57,7 +65,6 @@
this.requiredMessage = "requiredMessage";
this.rendered = true;
this.selectFirstOnUpdate = true;
- this.maxlength = 5;
this.enableManualInput = true;
this.listHeight = "400";
this.listWidth = "350";
@@ -66,6 +73,7 @@
this.bindLabel = "Click Binding";
this.align = "left";
this.alt = "hidden";
+ this.accesskey = "y";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add(new Data("selectItem", i));
@@ -222,14 +230,6 @@
this.selectFirstOnUpdate = selectFirstOnUpdate;
}
- public int getMaxlength() {
- return maxlength;
- }
-
- public void setMaxlength(int maxlength) {
- this.maxlength = maxlength;
- }
-
public boolean isEnableManualInput() {
return enableManualInput;
}
@@ -282,12 +282,4 @@
public void setAlign(String align) {
this.align = align;
}
-
- public String getAlt() {
- return alt;
- }
-
- public void setAlt(String alt) {
- this.alt = alt;
- }
}
Show replies by date