<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">
<div id="ecxyiv1469138571">
<table class="ecxyiv1469138571" id="ecxyiv1469138571bodyDrftID" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td id="ecxyiv1469138571drftMsgContent" style="font-size: 10pt; font-family: arial;">
<div id="ecxyiv1469138571yiv1280050447">
<table class="ecxyiv1469138571yiv1280050447" id="ecxyiv1469138571yiv1280050447bodyDrftID" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td id="ecxyiv1469138571yiv1280050447drftMsgContent" style="font-size: 10pt; font-family: arial;">
<div id="ecxyiv1469138571yiv1280050447yiv738922534"><table class="ecxyiv1469138571yiv1280050447yiv738922534" id="ecxyiv1469138571yiv1280050447yiv738922534bodyDrftID" style="width: 509px; height: 592px;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td id="ecxyiv1469138571yiv1280050447yiv738922534drftMsgContent" style="font-size: 10pt; font-family: arial;">Hi all,<br><br>I'm reading Paul
Browne's "JBoss Drools Business Rules" and in Ch. 5 we make a BRL in the guided
editor. We're using a simple fact model with a single class (Sales) which has
(among others) a field "sales", type long. The book uses an earlier version of
Guvnor so things look a little different but everything's worked so far, until I
use the editor to make a rule that looks like this in "view source":<br><br>rule
"SalesDiscount"<br> dialect "mvel"<br> when<br> mySales : Sales( salesValue
: sales >= "100" )<br> then<br> mySales.setSales( salesValue-10 );<br>
update( mySales );<br>end<br><br>When I try it out, I get this line in the THEN
section<br><br>"1. Modify value of Sales [mySales] sales [pencil icon] [remove icon]<br><br>but neither "sales" nor the pencil icon is clickable, so I can't enter what it should change to. When click view source using what I could do I
get:<br><br>rule "SalesDiscount"<br> dialect "mvel"<br> when<br> mySales :
Sales( salesValue : sales >= "100" )<br> then<br> mySales.setSales(
);<br> mySales.setWait( );<br> update( mySales );<br>end<br><br>[I added
the "wait" because the modify field dropdown has this as an option but it's not
in the Java class and I'm not sure where it came from.]<br><br>Can anyone shed light on this behavior? I'm using the latest version of Firefox, compiling
with GWT/building my own EAR (though I haven't done any code changes) using RAD
7.5.5.1 (based on Eclipse 3.4), and am running Guvnor on
WebSphere.<br></td></tr></tbody></table></div></td></tr></tbody></table></div></td></tr></tbody></table></div></td></tr></table>