There are some undocumented classes in drools-decisiontables that should let you do this. Have a look at DataProviderCompilerIntegrationTest.java<br><br>cheers<br>Steve<b><br></b><br><div class="gmail_quote">On Tue, Mar 25, 2008 at 12:03 PM, ferry97 <<a href="mailto:vri_97@yahoo.com" target="_blank">vri_97@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br>
Thanks Mark for the info.<br>
Could you show me how to do it using mvel ? or refer me a link that<br>
explaining all this ?<br>
<br>
<br>
<br>
</div><div><div></div><div>Mark Proctor wrote:<br>
><br>
> ferry97 wrote:<br>
>> Hi,<br>
>> I don't know how to ask this in words.<br>
>> But can we do something like :<br>
>><br>
>> rule "define trx type"<br>
>> when<br>
>> Transaction(code == ${type1.code")<br>
>><br>
> sorry no. But it's a nice idea, maybe submit a patch? You could probably<br>
> do this yourself already if you use MVEL templating as a pre-parser.<br>
>> then<br>
>> doSomething ....<br>
>><br>
>> So, we define the type.code in a properties file.<br>
>> Thanks<br>
>><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Can-we-do-this-with-drools---tp16244282p16266150.html" target="_blank">http://www.nabble.com/Can-we-do-this-with-drools---tp16244282p16266150.html</a><br>
</font><div>Sent from the drools - user mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Steven Williams<br><br>Supervising Consultant<br><br>Object Consulting<br>Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501<br><a href="mailto:steven.williams@objectconsulting.com.au" target="_blank">steven.williams@objectconsulting.com.au</a><br>
<a href="http://www.objectconsulting.com.au" target="_blank">www.objectconsulting.com.au</a><br><br>consulting | development | training | support<br>our experience makes the difference