Thanks.<br><br>Custom Forms do not work for DSL Sentences. It would however be good if they did so I have raised JIRA <a href="https://issues.jboss.org/browse/GUVNOR-1732">https://issues.jboss.org/browse/GUVNOR-1732</a> on your behalf.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">2011/10/31  <span dir="ltr">&lt;<a href="mailto:GPatel@tsys.com">GPatel@tsys.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font size="2" face="sans-serif">Please find attached to this email  </font>
<br><div class="im">
<br><font size="2" face="sans-serif">Thanks</font>
<br><font size="2" face="sans-serif">G. Patel</font>
<br>
<br>
<br>
<br><font color="#5f5f5f" size="1" face="sans-serif">From:      
 </font><font size="1" face="sans-serif">Michael Anstis &lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</font>
<br><font color="#5f5f5f" size="1" face="sans-serif">To:      
 </font><font size="1" face="sans-serif">Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>&gt;</font>
<br></div><font color="#5f5f5f" size="1" face="sans-serif">Date:      
 </font><font size="1" face="sans-serif">10/31/2011 02:04 PM</font>
<br><div><div></div><div class="h5"><font color="#5f5f5f" size="1" face="sans-serif">Subject:    
   </font><font size="1" face="sans-serif">Re: [rules-users]
Guvnor custom form not working for DSL sentences</font>
<br><font color="#5f5f5f" size="1" face="sans-serif">Sent by:    
   </font><font size="1" face="sans-serif"><a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a></font>
<br>
<hr noshade>
<br>
<br>
<br><font size="3">Is it possible for you to provide a repository export?
I think I know what you have configured but an export would help.</font>
<p><font size="3">sent on the move</font>
</p><p><font size="3">On 31 Oct 2011 20:40, &lt;</font><a href="mailto:GPatel@tsys.com" target="_blank"><font color="blue" size="3"><u>GPatel@tsys.com</u></font></a><font size="3">&gt;
wrote:</font>
<br><font size="2" face="sans-serif">Here&#39;s the model:</font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
declare Vehicle</font><font size="3"> </font><font size="2" face="sans-serif"><br>
        engineType: String</font><font size="3"> </font><font size="2" face="sans-serif"><br>
        fuelType: String</font><font size="3"> </font><font size="2" face="sans-serif"><br>
end</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
Here&#39;s the DSL:</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
[when]there is a vehicle=$vehicle : Vehicle()</font><font size="3"> </font><font size="2" face="sans-serif"><br>
[when]- with engine type {value}=engineType==&quot;{value}&quot;</font><font size="3">
</font><font size="2" face="sans-serif"><br>
[then]say hello=System.out.println(&quot;Hello&quot;);</font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
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.  </font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
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.  </font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
Thanks</font><font size="3"> </font><font size="2" face="sans-serif"><br>
G. Patel</font><font size="3"> <br>
<br>
<br>
</font><font color="#5f5f5f" size="1" face="sans-serif"><br>
From:        </font><font size="1" face="sans-serif">Michael
Anstis &lt;</font><a href="mailto:michael.anstis@gmail.com" target="_blank"><font color="blue" size="1" face="sans-serif"><u>michael.anstis@gmail.com</u></font></a><font size="1" face="sans-serif">&gt;</font><font size="3">
</font><font color="#5f5f5f" size="1" face="sans-serif"><br>
To:        </font><font size="1" face="sans-serif">Rules
Users List &lt;</font><a href="mailto:rules-users@lists.jboss.org" target="_blank"><font color="blue" size="1" face="sans-serif"><u>rules-users@lists.jboss.org</u></font></a><font size="1" face="sans-serif">&gt;</font><font size="3">
</font><font color="#5f5f5f" size="1" face="sans-serif"><br>
Date:        </font><font size="1" face="sans-serif">10/30/2011
03:04 PM</font><font size="3"> </font><font color="#5f5f5f" size="1" face="sans-serif"><br>
Subject:        </font><font size="1" face="sans-serif">Re:
[rules-users] Guvnor custom form not working for DSL sentences</font><font size="3">
</font><font color="#5f5f5f" size="1" face="sans-serif"><br>
Sent by:        </font><a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank"><font color="blue" size="1" face="sans-serif"><u>rules-users-bounces@lists.jboss.org</u></font></a><font size="3">
<br>
</font>
</p><hr noshade><font size="3"><br>
<br>
<br>
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><p><font size="3">On 30 Oct 2011 21:52, &lt;</font><a href="mailto:GPatel@tsys.com" target="_blank"><font color="blue" size="3"><u>GPatel@tsys.com</u></font></a><font size="3">&gt;
wrote: <br>
<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 color="blue" size="3"><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org" target="_blank"><font color="blue" size="3"><u>rules-users@lists.jboss.org</u></font></a><font color="blue" size="3"><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><font color="blue" size="3"><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><tt><font size="2">_______________________________________________<br>

rules-users mailing list</font></tt><tt><font color="blue" size="2"><u><br>
</u></font></tt><a href="mailto:rules-users@lists.jboss.org" target="_blank"><tt><font color="blue" size="2"><u>rules-users@lists.jboss.org</u></font></tt></a><font color="blue" size="3"><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><tt><font color="blue" size="2"><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></tt></a><font size="3"><br>
</font>
</p><p><font size="3"><br>
_______________________________________________<br>
rules-users mailing list</font><font color="blue" size="3"><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org" target="_blank"><font color="blue" size="3"><u>rules-users@lists.jboss.org</u></font></a><font color="blue" size="3"><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><font color="blue" size="3"><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size="3"><br>
</font><tt><font size="2">_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><tt><font size="2">https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size="2"><br>
</font></tt>
</p><p></p><p></p><p></p><p></p><p></p><p></p></div></div><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>
<br></blockquote></div><br>