Re: [rules-users] DSL with multi value selectable listbox

2012-09-07 Thread bhochhi
Thanks for the response. 



--
View this message in context: 
http://drools.46999.n3.nabble.com/DSL-with-multi-value-selectable-listbox-tp4019656p4019661.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] DSL with multi value selectable listbox

2012-09-07 Thread Michael Anstis
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  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@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] DSL with multi value selectable listbox

2012-09-07 Thread bhochhi
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users