AFAIK, that "feature" and screenshot was contributed by a community
member. I don't know if it is active in the codebase...
Kris, do you know?
[]s
Edson
2008/1/15, mmquelo massi <mmquelo(a)gmail.com>:
Hi guys,
As u can notice in the
http://labs.jboss.com/file-access/default/members/drools/images//template...
DSL
pop-up Menu,
we have got the sentence "Escalate the ticket" splitted into 3 different
sub-sentences:
1. Escalate
2. Escalate the
3. Escalate the ticket
When I open "*org.drools.examples.TroubleTicketWithDSL.dslr*" from the "*
drools-examples/drools-examples-drl/src/main/rules/org/drools/examples*"
directory and i push "CTRL+SPACE" in Eclipse Europa 3.3, then the pop-up
menu I get back shows just one of the sentences above.
It just shows: "Escalate the ticket".
I expected to see all the above sentences, as I saw in the JBoss Drools
Features page (
http://labs.jboss.com/file-access/default/members/drools/images//template...
).
So.... Why Do I get a different menu with just one sentence?
Is the .dsl file referred from the .drls in the "feature page" different
from the following one?
*[condition][]There is a customer ticket with status of
"{status}"=customer : Customer( ) ticket : Ticket( customer == customer,
status == "{status}" )
[condition][]There is a "{subscription}" customer with a ticket status of
"{status}"=customer : Customer(subscription == "{subscription}")
ticket :
Ticket( customer == customer, status == "{status}")
[consequence][]Log "{message}"=System.out.println("{message} ");
[consequence][]Escalate the ticket=ticket.setStatus("Escalate");
update(ticket);
[consequence][]Send escalation email=sendEscalationEmail( customer, ticket
); *
*One more question.*
I have got no idea on the "Object" column which accours in the DSL Editor.
We have got "Language Expression", "", "*Object*" and
"Scope".
What does "*Object*" stand for?
Thank You for any help you can give me.
Massi
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com