[rules-users] Specifiying dialect MVEL for rules generate from decision tables

Wolfgang Laun wolfgang.laun at gmail.com
Fri Nov 11 07:06:14 EST 2011


You can sneak in any rule attribute by using Queries or Functions as the
keyword and by providing the full text of the rule attribute in the next
cell.

This would then apply to all rules derived from all following Rule Tables,
or until changed by another entry.

I don't think adding "dialect" as another keyword for RuleTables makes any
sense: notice that code snippets are provided in the header, and changing
or setting the dialect for each rule individually isn't going to work.

It would make sense to add a RuleSet keyword "Attributes" so that there is
no need to abuse "Functions" or "Queries".

-W



2011/11/11 Michael Anstis <michael.anstis at gmail.com>

> Apologies Heinz,
>
> I'd assumed the XLS decision table supported "dialect" too (the web-based
> decision table in Guvnor does).
>
> If you raise a JIRA I'll add dialect to the decision table parser.
>
>
> On 11 November 2011 11:45, Heinz Drews <heinz.drews at gmail.com> wrote:
>
>> I have used chapter 6 of the Drools Expert 5.2 final as reference
>> (
>> http://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch06.html
>> ).
>>
>> Because I could not found a reference I have searched for "dialect"
>> and could not get a hit.
>>
>> Have I read the wrong user guide?
>>
>> 2011/11/11 Michael Anstis <michael.anstis at gmail.com>:
>> > Have you read the user guide?
>> >
>> > There is a attribute for dialect.
>> >
>> > On 11 November 2011 10:13, hdrews <heinz.drews at gmail.com> wrote:
>> >>
>> >> How can I select the dialect for generated rules?
>> >>
>> >> -- Heinz
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://drools.46999.n3.nabble.com/Specifiying-dialect-MVEL-for-rules-generate-from-decision-tables-tp3499287p3499287.html
>> >> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> >> _______________________________________________
>> >> rules-users mailing list
>> >> rules-users at lists.jboss.org
>> >> https://lists.jboss.org/mailman/listinfo/rules-users
>> >
>> >
>> > _______________________________________________
>> > rules-users mailing list
>> > rules-users at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/rules-users
>> >
>> >
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111111/5498f10b/attachment.html 


More information about the rules-users mailing list