<div> </div>
<div>Hi guys,</div>
<div> </div>
<div>As u can notice in the <a href="http://labs.jboss.com/file-access/default/members/drools/images//templatebaseddsl2.png">http://labs.jboss.com/file-access/default/members/drools/images//templatebaseddsl2.png</a> DSL pop-up Menu,
</div>
<div>we have got the sentence "Escalate the ticket" splitted into 3 different sub-sentences:</div>
<div> </div>
<div>1. Escalate</div>
<div>2. Escalate the</div>
<div>3. Escalate the ticket</div>
<div> </div>
<div>When I open "<em>org.drools.examples.TroubleTicketWithDSL.dslr</em>" from the "<em>drools-examples/drools-examples-drl/src/main/rules/org/drools/examples</em>"</div>
<div>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.</div>
<div> </div>
<div>It just shows: "Escalate the ticket".</div>
<div> </div>
<div>I expected to see all the above sentences, as I saw in the JBoss Drools Features page ( <a href="http://labs.jboss.com/file-access/default/members/drools/images//templatebaseddsl2.png">http://labs.jboss.com/file-access/default/members/drools/images//templatebaseddsl2.png
</a>).</div>
<div> </div>
<div>So.... Why Do I get a different menu with just one sentence?</div>
<div> </div>
<div>Is the .dsl file referred from the .drls in the "feature page" different from the following one?</div>
<div> </div>
<div><em>[condition][]There is a customer ticket with status of "{status}"=customer : Customer( ) ticket : Ticket( customer == customer, status == "{status}" )<br>[condition][]There is a "{subscription}" customer with a ticket status of "{status}"=customer : Customer(subscription == "{subscription}") ticket : Ticket( customer == customer, status == "{status}")
<br>[consequence][]Log "{message}"=System.out.println("{message} ");<br>[consequence][]Escalate the ticket=ticket.setStatus("Escalate"); update(ticket);<br>[consequence][]Send escalation email=sendEscalationEmail( customer, ticket );
</em><br></div>
<div><strong>One more question.</strong></div>
<div> </div>
<div>I have got no idea on the "Object" column which accours in the DSL Editor.</div>
<div>We have got "Language Expression", "", "<strong>Object</strong>" and "Scope".</div>
<div> </div>
<div>What does "<strong>Object</strong>" stand for?</div>
<div> </div>
<div>Thank You for any help you can give me.</div>
<div> </div>
<div>Massi</div>