Author: abelevich
Date: 2008-02-21 11:17:57 -0500 (Thu, 21 Feb 2008)
New Revision: 6262
Modified:
trunk/ui/combobox/src/test/java/org/richfaces/component/ComboBoxComponentTest.java
Log:
add selectItems def
Modified:
trunk/ui/combobox/src/test/java/org/richfaces/component/ComboBoxComponentTest.java
===================================================================
---
trunk/ui/combobox/src/test/java/org/richfaces/component/ComboBoxComponentTest.java 2008-02-21
16:17:31 UTC (rev 6261)
+++
trunk/ui/combobox/src/test/java/org/richfaces/component/ComboBoxComponentTest.java 2008-02-21
16:17:57 UTC (rev 6262)
@@ -56,6 +56,7 @@
javaScripts.add("a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScript");
javaScripts.add("a4j_3_2_0-SNAPSHOTscripts/comboboxUtils.js");
javaScripts.add("a4j_3_2_0-SNAPSHOTscripts/combobox.js");
+ javaScripts.add("a4j_3_2_0-SNAPSHOTscripts/combolist.js");
javaScripts.add("a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/utils.js");
}
@@ -97,9 +98,11 @@
comboBox.getChildren().add(item2);
comboBox.getChildren().add(item3);
comboBox.getChildren().add(item4);
+
UISelectItems items = new UISelectItems();
items.setValue(selectItems);
+ comboBox.getChildren().add(items);
form.getChildren().add(comboBox);
}
Show replies by date