Author: gmaksimenko
Date: 2008-04-21 10:12:51 -0400 (Mon, 21 Apr 2008)
New Revision: 8009
Modified:
trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
Log:
Add test for Alt
Modified: trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-21
14:12:37 UTC (rev 8008)
+++ trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-21
14:12:51 UTC (rev 8009)
@@ -42,7 +42,16 @@
private HtmlComboBox myComboBox = null;
private String bindLabel;
private String align;
+ private String alt;
+ public String getAlt() {
+ return alt;
+ }
+
+ public void setAlt(String alt) {
+ this.alt = alt;
+ }
+
public String getAlign() {
return align;
}
@@ -76,6 +85,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);