Author: jjamrich
Date: 2011-05-17 19:53:24 -0400 (Tue, 17 May 2011)
New Revision: 22498
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichGraphValidatorBean.java
Log:
Update validation condition to cover select-many components too
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichGraphValidatorBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichGraphValidatorBean.java 2011-05-17
23:42:01 UTC (rev 22497)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichGraphValidatorBean.java 2011-05-17
23:53:24 UTC (rev 22498)
@@ -136,11 +136,11 @@
&& inputSecret.contains(smile)
&& inputTextarea.contains(smile)
&& selectBooleanCheckbox.booleanValue()
- && !selectManyCheckbox.isEmpty()
+ && selectManyCheckbox.contains(smile)
&& selectOneListbox.contains(smile)
- && !selectManyListbox.isEmpty()
+ && selectManyListbox.contains(smile)
&& selectOneMenu.contains(smile)
- && !selectManyMenu.isEmpty()
+ && selectManyMenu.contains(smile)
&& selectOneRadio.contains(smile)
&& !calendar.after(new Date(System.currentTimeMillis()));
}
Show replies by date