Author: gmaksimenko
Date: 2008-04-21 09:51:31 -0400 (Mon, 21 Apr 2008)
New Revision: 7997
Modified:
trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
Log:
Add test for align
Modified: trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-21 13:51:16
UTC (rev 7996)
+++ trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-21 13:51:31
UTC (rev 7997)
@@ -37,7 +37,9 @@
public ArrayList<SelectItem> selectItem;
private HtmlComboBox myComboBox = null;
private String bindLabel;
-
+ private String align;
+
+
public Combobox() {
this.disabled = false;
this.defaultLabel = "defaultLabel";
@@ -62,6 +64,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);
@@ -268,5 +271,13 @@
public void checkBinding(ActionEvent actionEvent){
FacesContext context = FacesContext.getCurrentInstance();
bindLabel = myComboBox.getClientId(context);
+ }
+
+ public String getAlign() {
+ return align;
}
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
}
Show replies by date