Cool! I&#39;ll take a look.<br><br>See you at the Corner Hotel, Melbourne, Australia. How&#39;s tonight?<br><br>Steve<br clear="all"><br>
<br><br><div class="gmail_quote">2009/3/28 Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>2009/3/25 Steven Williams <span dir="ltr">&lt;<a href="mailto:stevearoonie@gmail.com" target="_blank">stevearoonie@gmail.com</a>&gt;</span><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Hi Wolfgang,<br><br><div>Yeah sorry, I couldn&#39;t remember how far I took it. Unfortunately I haven&#39;t had a lot of time to take it further, so.... if you want to contribute anything you do back I will buy you a drink :-)<div>


<div></div><div></div></div></div></blockquote><div><br>Where&#39;s your favourite watering hole? ;-)<br><br>The attachment contains:<br><br>org.drools.template.ObjectDataCompiler.java - NEW, extending DataProviderCompile with a couple of methods for calling the template compiler with collections of maps or objects providing the actual parameters for substitution<br>


<br>org.drools.template.DataProviderCompiler.java - MODIFIED, because closeStream is now protected<br><br>org.drools.template.objects - new package containing:<br>dorg.drools.template.objects.ObjectDataProvider.java - NEW, the implementation<br>


<br>org.drools.template.DataProviderCompilerIntegrationTest.java - MODIFIED, with additional unit tests, re-using the data of the old one<br><br>As facts are objects, it&#39;s now possible to write rules that fire on some Fact backing an ObjectDataProvider, with the RHS calling the template compiler. This could be used in a staging process, to set up rules in stage 1 that process the actual fact database in the next stage.  <br>


<br>Regards<br>Wolfgang<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><br>cheers<br>Steve<br></div></div>
<br></blockquote></div><br>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br>