Author: abelevich
Date: 2008-04-14 12:10:32 -0400 (Mon, 14 Apr 2008)
New Revision: 7815
Added:
trunk/samples/combobox-sample/src/main/java/org/richfaces/samples/SuggestBean.java
Log:
Added: trunk/samples/combobox-sample/src/main/java/org/richfaces/samples/SuggestBean.java
===================================================================
--- trunk/samples/combobox-sample/src/main/java/org/richfaces/samples/SuggestBean.java
(rev 0)
+++
trunk/samples/combobox-sample/src/main/java/org/richfaces/samples/SuggestBean.java 2008-04-14
16:10:32 UTC (rev 7815)
@@ -0,0 +1,42 @@
+package org.richfaces.samples;
+
+import java.util.Date;
+import javax.faces.model.SelectItem;
+
+
+public class SuggestBean {
+
+ private String property;
+ private String property2;
+
+ private SelectItem[] comboSelectItems = { new SelectItem("Test",
"Test"), new SelectItem("Test2", "Test2"), new
SelectItem("Test3", "Test3") };
+
+
+ public void updateProperty2() {
+ setProperty2((new Date()).toString());
+ }
+
+ public String getProperty() {
+ return property;
+ }
+
+ public void setProperty(String property) {
+ this.property = property;
+ }
+
+ public String getProperty2() {
+ return property2;
+ }
+
+ public void setProperty2(String property2) {
+ this.property2 = property2;
+ }
+
+ public SelectItem[] getComboSelectItems() {
+ return comboSelectItems;
+ }
+
+ public void setComboSelectItems(SelectItem[] comboSelectItems) {
+ this.comboSelectItems = comboSelectItems;
+ }
+}
Show replies by date