[rules-users] DSL with multi value selectable listbox

Michael Anstis michael.anstis at gmail.com
Fri Sep 7 16:37:31 EDT 2012


In order for a multi-select list-box to make sense the operator would need
to be "in" or "not in".

The operator is not explicitly parsed within a DSL sentence and hence it is
impossible to ascertain if the list-box should allow multiple select.

If you wanted to generate separate rules for each selected entry in the
list-box you could look into using a Rule Template **in the future**.

Unfortunately DSL sentences in Guvnor do not currently (5.4.0.Final)
support Template Keys, hence the significance of "in the future" in the
foregoing sentence.

With kind regards,

Mike

On 7 September 2012 20:23, bhochhi <bhochhi at aol.com> wrote:

> Hi,
>
> Selecting one value from the selectbox using enum is not a problem. But I
> am
> wondering if it is possible to create a DSL expression where you can select
> multiple values from the listbox?
>
> bhochhi
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/DSL-with-multi-value-selectable-listbox-tp4019656.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120907/da82b107/attachment-0001.html 


More information about the rules-users mailing list