if i have several levels of java beans, the Date is not working. example:
m:Message( first.second.date > "01-jan-2007" )
receive exceptions such as:
Caused by: java.lang.ClassCastException: java.lang.String
at java.util.Date.compareTo(Date.java:112)
at
org.mvel.math.IEEEFloatingPointMath.doOperationNonNumeric(IEEEFloatingPointMath.java:111)
at org.mvel.math.IEEEFloatingPointMath._doOperations(IEEEFloatingPointMath.java:90)
at org.mvel.math.IEEEFloatingPointMath.doOperation(IEEEFloatingPointMath.java:41)
at org.mvel.util.ParseTools.doOperations(ParseTools.java:798)
at org.mvel.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:20)
at org.mvel.MVELRuntime.execute(MVELRuntime.java:88)
at org.mvel.CompiledExpression.getValue(CompiledExpression.java:108)
at org.mvel.MVEL.executeExpression(MVEL.java:230)
at
org.drools.base.mvel.MVELPredicateExpression.evaluate(MVELPredicateExpression.java:36)
at org.drools.rule.PredicateConstraint.isAllowed(PredicateConstraint.java:210)
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.