sent on the move
On 31 Oct 2011 20:40, <GPatel@tsys.com>
wrote:
Here's the model:
declare Vehicle
engineType: String
fuelType: String
end
Here's the DSL:
[when]there is a vehicle=$vehicle : Vehicle()
[when]- with engine type {value}=engineType=="{value}"
[then]say hello=System.out.println("Hello");
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.
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.
Thanks
G. Patel
From: Michael
Anstis <michael.anstis@gmail.com>
To: Rules
Users List <rules-users@lists.jboss.org>
Date: 10/30/2011
03:04 PM
Subject: Re:
[rules-users] Guvnor custom form not working for DSL sentences
Sent by: rules-users-bounces@lists.jboss.org
sent on the move
On 30 Oct 2011 21:52, <GPatel@tsys.com>
wrote:
Hi
Is the guvnor custom form not meant for use with fact fields appearing
in
dsl sentences? It works fine with guided editor, not with dsl though.
Using 5.3.CR1
Thanks
G. Patel
-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users