Author: gmaksimenko
Date: 2008-04-21 10:02:31 -0400 (Mon, 21 Apr 2008)
New Revision: 8001
Modified:
trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
Log:
Add test for align
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:02:12 UTC (rev 8000)
+++ trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-21
14:02:31 UTC (rev 8001)
@@ -41,7 +41,16 @@
public ArrayList<SelectItem> selectItem;
private HtmlComboBox myComboBox = null;
private String bindLabel;
+ private String align;
+ public String getAlign() {
+ return align;
+ }
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
+
public Combobox() {
this.disabled = false;
this.defaultLabel = "defaultLabel";
@@ -66,6 +75,7 @@
this.suggestionValues = new ArrayList<String>();
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
+ this.align = "left";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add("suggestionValues " + r.nextInt(10) + " N=" +
i);