<div dir="ltr">Hello,<div><br></div><div>I tried this with the latest build (from master branch on github) and could not replicate this issue.</div><div><br></div><div>I have however raised a bug report for the single space character for the default value.</div>
<div><br></div><div>With kind regards,</div><div><br></div><div>Mike</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 February 2014 19:11, SrjTx <span dir="ltr">&lt;<a href="mailto:clickthex@yahoo.com" target="_blank">clickthex@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a global class foo with method bar(int x, int y, string s);<br>
<br>
I added it to a globals file as alias x.<br>
<br>
In a then in an rdrl, I can select call a method on x, so I choose<br>
bar.  I get 3 text boxes<br>
       int[        ]<br>
       int[        ]<br>
   string[        ]<br>
<br>
And I fill in<br>
       int[3       ]<br>
       int[8       ]<br>
   string[Hi      ]<br>
<br>
The resulting source is x.bar(&quot;3&quot;, &quot;8&quot;, &quot;Hi&quot;) - which fails validation<br>
because the first two are supposed to be ints.  Do you enter ints<br>
differently?  Or, is this a bug?<br>
<br>
Also note that a space is always a;ready in the text boxes so you have to<br>
delete it first.  If you just start typeing hi, you will get the value &quot; Hi&quot;<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/6-0-1-F-Guided-Rule-makes-all-argument-types-strings-tp4028010.html" target="_blank">http://drools.46999.n3.nabble.com/6-0-1-F-Guided-Rule-makes-all-argument-types-strings-tp4028010.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>
</blockquote></div><br></div>