[jboss-jira] [JBoss JIRA] Created: (JBRULES-1117) DSL support for multiple mvel comparasions (like || ==) in several lines.
Felipe Piccolini (JIRA)
jira-events at lists.jboss.org
Thu Aug 23 12:32:18 EDT 2007
DSL support for multiple mvel comparasions (like || ==) in several lines.
-------------------------------------------------------------------------
Key: JBRULES-1117
URL: http://jira.jboss.com/jira/browse/JBRULES-1117
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder, Eclipse IDE
Affects Versions: 4.0.0.GA
Environment: DSL editor and eclipse IDE.
Reporter: Felipe Piccolini
Assigned To: Mark Proctor
Fix For: FUTURE
It whould be nice if DSL supports multiple lines for multiple comparison (mvel expression) against the same attribute.
Like this:
DLS:
A Person
- having age equals to 10
- or equals to 15
- or greather than 20
DRL:
p: Person( age == 10
|| == 15
|| > 20)
Right now, the " - <expression>" put a 'comma' at the end of the line making this:
p: Person( age == 10, || == 15, || > 20)
What throws errors...
Is it possible to do that? I love the || == <value> thing in each line...
Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list