&nbsp;&nbsp; That templates are the equivalent to &quot;fact templates&quot; in clips rules engine. I think it is not what you are looking for.<br>&nbsp; <br>&nbsp;&nbsp; I think what you want is DSL. Take a look at the manual, but if you try it out, try it with trunk. It is not included in 
3.1M1 release.<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/4/9, jdepaul &lt;<a href="mailto:jjdepaul@us.ibm.com">jjdepaul@us.ibm.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I&#39;m looking to modularize and re-use as many rule components and functions as<br>possible.<br><br>I wanted to ask about a concept of a Template in Drools - is there a notion<br>of a Rule Template for LHS or RHS that I could user?&nbsp;&nbsp;I&#39;m thinking of a
<br>RuleTemplate that a user customizes:&nbsp;&nbsp;they&#39;d specify the field property and<br>select a pre-defined Template - the Template would defined prescribed<br>behavior and operation for that property.&nbsp;&nbsp;I.e. you specify the property
<br>name and the template will include the code to do mapping and object saving<br>actions for you substituting field name where appropriate - anything like<br>that available, or is that something that a custom front-end application
<br>would need to implement?<br><br>I was intrigued when I noticed that one of the Drools IDE views had a button<br>to Show/Hide Templates - not sure what that means in this case, but<br>hopefully it&#39;s just what I&#39;m after... hehe.
<br><br>Thanks,<br>James<br><br>--<br>View this message in context: <a href="http://www.nabble.com/Dynamic-property-names...-tf3532720.html#a9908782">http://www.nabble.com/Dynamic-property-names...-tf3532720.html#a9908782
</a><br>Sent from the drools - user mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">
rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli
<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3124-6000<br>&nbsp;&nbsp;Mobile: +55 11 9218-4151<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>