[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1078) Allow static expressions in value restrictions

Mark Proctor (JIRA) jira-events at lists.jboss.org
Mon Aug 13 08:57:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-1078?page=all ]

Mark Proctor closed JBRULES-1078.
---------------------------------

    Resolution: Rejected

no bug is given here, this was really a user mailing list Q.

> Allow static expressions in value restrictions
> ----------------------------------------------
>
>                 Key: JBRULES-1078
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1078
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Alexandre Gattiker
>         Assigned To: Mark Proctor
>
> Would it be possible to allow the following two rules to work? In 4.0.0.GA, I get parsing errors for both.
> rule "sample rule 1"
> 	when
> 		Object(toString == String.valueOf("196071"))
> 	then
> 		System.out.println("ok");
> end
> rule "sample rule 2"
> 	when
> 		Object(toString == new String("196071"))
> 	then
> 		System.out.println("ok");
> end		
> (In my particular case, I need to compare BigDecimal values).

-- 
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