Author: gmaksimenko
Date: 2008-04-21 10:12:37 -0400 (Mon, 21 Apr 2008)
New Revision: 8008
Modified:
trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
Log:
Add test for Alt
Modified: trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-21 14:12:19
UTC (rev 8007)
+++ trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-21 14:12:37
UTC (rev 8008)
@@ -38,6 +38,7 @@
private HtmlComboBox myComboBox = null;
private String bindLabel;
private String align;
+ private String alt;
public Combobox() {
@@ -65,6 +66,7 @@
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
this.align = "left";
+ this.alt = "default alt";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add("suggestionValues " + r.nextInt(10) + " N=" +
i);
@@ -280,4 +282,12 @@
public void setAlign(String align) {
this.align = align;
}
+
+ public String getAlt() {
+ return alt;
+ }
+
+ public void setAlt(String alt) {
+ this.alt = alt;
+ }
}