<br> AFAIK, that "feature" and screenshot was contributed by a community member. I don't know if it is active in the codebase... <br><br> Kris, do you know?<br><br> []s<br> Edson<br><br><div><span class="gmail_quote">
2008/1/15, mmquelo massi <<a href="mailto:mmquelo@gmail.com">mmquelo@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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><span class="sg">
<div> </div>
<div>Massi</div>
</span><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" 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><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com
</a>