With guided rule editor, "pop up input panel" does not show up to modify a Date field in RHS
Issue
With guided rule editor, user can choose a Date using "pop up input panel" in LHS. However, "pop up input panel" does not show up to modify a Date field in RHS.
Without "pop up input panel", user can input invalid data to a Date field. Also validation doesn't detect the invalid input data. With following example, user entered invalid data, "2000".
rule "test"
dialect "mvel"
when
$a : Demo( date == "01-Mar-2014" )
then
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("dd-MMM-yyyy");
$a.setDate( sdf.parse("2000") );
update( $a );
end
Environment
- Red Hat JBoss BRMS
- 5.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
