Author: gmaksimenko
Date: 2008-04-29 08:58:13 -0400 (Tue, 29 Apr 2008)
New Revision: 8304
Modified:
trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
Log:
Erase tests for maxlegth and alt
Modified: trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-29
12:58:00 UTC (rev 8303)
+++ trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-29
12:58:13 UTC (rev 8304)
@@ -6,12 +6,17 @@
import org.richfaces.component.html.HtmlComboBox;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
+import javax.faces.event.ActionListener;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.SelectItem;
import util.data.Data;
+import util.event.Event;
+
+
+
/**
* @author AYanul
*
@@ -33,7 +38,6 @@
public String requiredMessage;
public boolean rendered;
public boolean selectFirstOnUpdate;
- public int maxlength;
public boolean enableManualInput;
public String listHeight;
public String listWidth;
@@ -41,16 +45,7 @@
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;
}
@@ -74,7 +69,6 @@
this.requiredMessage = "requiredMessage";
this.rendered = true;
this.selectFirstOnUpdate = true;
- this.maxlength = 5;
this.enableManualInput = true;
this.listHeight = "400";
this.listWidth = "350";
@@ -82,7 +76,6 @@
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
this.align = "left";
- this.alt = "hidden";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add(new Data("selectItem", i));
@@ -231,14 +224,6 @@
this.selectFirstOnUpdate = selectFirstOnUpdate;
}
- public int getMaxlength() {
- return maxlength;
- }
-
- public void setMaxlength(int maxlength) {
- this.maxlength = maxlength;
- }
-
public boolean isEnableManualInput() {
return enableManualInput;
}
Show replies by date