[jboss-jira] [JBoss JIRA] Commented: (JBRULES-938) Conditions with multiple parameters aren't always correctly parsed in decision tables

jiang jinfeng (JIRA) jira-events at lists.jboss.org
Wed Jun 27 05:21:57 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-938?page=comments#action_12366980 ] 
            
jiang jinfeng commented on JBRULES-938:
---------------------------------------

when i  used to decision table,in the  CONDITION cell, How to call a Function?thanks!

> Conditions with multiple parameters aren't always correctly parsed in decision tables
> -------------------------------------------------------------------------------------
>
>                 Key: JBRULES-938
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-938
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Decision tables
>    Affects Versions: 4.0.0.MR2, 3.0.6
>            Reporter: Fabien Lafarge
>         Assigned To: Mark Proctor
>
> When the first parameter ($1) is present at the beginning of a condition (example rule:  "$1! = $2"), SpreadsheetCompiler will not replace parameters with their values
> in SnippetBuilder.build(...), shouldn't 
>   if ( this._template.indexOf( SnippetBuilder.PARAM_PREFIX + "1" ) > 0 ) {
> be replaced with 
>   if ( this._template.indexOf( SnippetBuilder.PARAM_PREFIX + "1" ) >= 0 ) {
> ?

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