[rules-users] Can we do this with drools ?

Mark Proctor mproctor at codehaus.org
Mon Mar 24 21:27:11 EDT 2008


ferry97 wrote:
> Thanks Mark for the info.
> Could you show me how to do it using mvel ? or refer me a link that
> explaining all this ? 
>   
http://docs.codehaus.org/display/MVEL/Templating+Guide
>
>
> Mark Proctor wrote:
>   
>> ferry97 wrote:
>>     
>>> Hi,
>>> I don't know how to ask this in words.
>>> But can we do something like :
>>>
>>> rule "define trx type"
>>> when
>>>    Transaction(code == ${type1.code")
>>>   
>>>       
>> sorry no. But it's a nice idea, maybe submit a patch? You could probably 
>> do this yourself already if you use MVEL templating as a pre-parser.
>>     
>>> then
>>>    doSomething ....
>>>
>>> So, we define the type.code in a properties file.
>>> Thanks
>>>   
>>>       
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>     
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080325/704aa61f/attachment.html 


More information about the rules-users mailing list