<font size=2 face="sans-serif">Here's the model:</font>
<br>
<br><font size=2 face="sans-serif">declare Vehicle</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; engineType:
String</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; fuelType:
String</font>
<br><font size=2 face="sans-serif">end</font>
<br>
<br><font size=2 face="sans-serif">Here's the DSL:</font>
<br>
<br><font size=2 face="sans-serif">[when]there is a vehicle=$vehicle :
Vehicle()</font>
<br><font size=2 face="sans-serif">[when]- with engine type {value}=engineType==&quot;{value}&quot;</font>
<br><font size=2 face="sans-serif">[then]say hello=System.out.println(&quot;Hello&quot;);</font>
<br>
<br><font size=2 face="sans-serif">When I create a rule using the Guided
Editor the usual way (without using DSL sentences), the custom form does
pop up, as shown in attached file ss1.gif. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">When I create a rule using the DSL sentence
(when there is a vehicle with engine type {value}), the value is the usual
text field. Clicking on it does not invoke the custom form. Please see
attached file ss-dsl.gif. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br><font size=2 face="sans-serif">G. Patel</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Michael Anstis &lt;michael.anstis@gmail.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Rules Users List &lt;rules-users@lists.jboss.org&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">10/30/2011 03:04 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [rules-users]
Guvnor custom form not working for DSL sentences</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">rules-users-bounces@lists.jboss.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Can you bit a little more descriptive? I am having trouble
knowing exactly to what part of Guvnor you refer.</font>
<p><font size=3>sent on the move</font>
<p><font size=3>On 30 Oct 2011 21:52, &lt;</font><a href=mailto:GPatel@tsys.com><font size=3 color=blue><u>GPatel@tsys.com</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3><br>
Hi<br>
<br>
Is the guvnor custom form not meant for use with fact fields appearing
in<br>
dsl sentences? It works fine with guided editor, not with dsl though.<br>
<br>
Using 5.3.CR1<br>
<br>
Thanks<br>
G. Patel<br>
<br>
-----------------------------------------<br>
The information contained in this communication (including any<br>
attachments hereto) is confidential and is intended solely for the<br>
personal and confidential use of the individual or entity to whom<br>
it is addressed. If the reader of this message is not the intended<br>
recipient or an agent responsible for delivering it to the intended<br>
recipient, you are hereby notified that you have received this<br>
communication in error and that any review, dissemination, copying,<br>
or unauthorized use of this information, or the taking of any<br>
action in reliance on the contents of this information is strictly<br>
prohibited. If you have received this communication in error,<br>
please notify us immediately by e-mail, and delete the original<br>
message. Thank you<br>
_______________________________________________<br>
rules-users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><tt><font size=2>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size=2><br>
</font></tt>
<br>