The documentation says that any &#39;{&#39; and &#39;}&#39; in the expansion text must be<br>preceded by &#39;\&#39;.<br>-W<br><br><div class="gmail_quote">On 7 May 2011 06:10, boy18nj <span dir="ltr">&lt;<a href="mailto:boy18nj@gmail.com">boy18nj@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">[consequence][]Turn on the &quot;{sprinkler}&quot; for &quot;{room}&quot;=modify( {sprinkler}<br>

){setOn(true)}<br>
<br>
Example in above dsl, I cannot figure out how to parametrize true parameter<br>
because RHS already contains curly brackets.<br>
<br>
If i do like this, it is wrong DSL compilaton throw errors-<br>
[consequence][]Turn &quot;{on}&quot; the &quot;{sprinkler}&quot; for &quot;{room}&quot;=modify(<br>
{sprinkler} ){setOn({on})}<br>
<br>
Please suggest the correct code.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-parametrize-method-parameters-in-DSL-tp2910918p2910918.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-parametrize-method-parameters-in-DSL-tp2910918p2910918.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>