<br> DSL is space mandatory, but insensitive, it that makes any sense... :)<br> My guess is that when you write a mapping like that:<br><br>showing popup thing =<br><br> You are say that there must be 1 or more spaces in the end of the statement.<br>
Try removing the space and it should work:<br><br>showing popup thing=<br><br> PS: Internally, all spaces are converted into \s+<br>
<br> []s<br> Edson<br><br><div class="gmail_quote">2008/4/15 vester_s <<a href="mailto:s4nnym@gmail.com">s4nnym@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
I have a DSL file like this<br>
[then]showing popup thing = foo.put("showing","ON");<br>
<br>
and a DRL file like this<br>
Rule "popup"<br>
no-loop tru<br>
when<br>
....<br>
then<br>
showing popup thing<br>
end<br>
<br>
It keeps giving me an error<br>
"Unable to expand: showing popup thing. Due to Expression was not<br>
expandable: showing popup thing"<br>
<br>
The other rules is working fine, i couldn't find any problem with this DSL<br>
and DRL. Anybody can help?<br>
<br>
thanks,<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p16707000.html" target="_blank">http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p16707000.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>