Hi,
You need to escape the = with double \\
For example: ['a\\=5=expression1', 'a\\=5*2=expression2']
Operators already have a human readable form within Guvnor. Why do you need
to replicate the behaviour?
With kind regards,
Mike
On 12 February 2013 11:55, rjr201 <rich.j.riley(a)gmail.com> wrote:
Hi,
I've created an enumeration in Guvnor like so:
'Object.operator[]': ['== = equals', '!= = does not equal',
'< = less
than',
'> = greater than']
The less than and greater than map fine. But the equals and does not equal
don't. I realise that I need to escape the first two = signs, but can't
find
a way to do it.
'\=\= = equals' doesn't work. Anyone got any ideas?
Sorry if this is something really easy to solve, but I can't work it out.
(also I realise that I could just have a drop down box with the
mathematical
symbols in and not worry about mapping it to english, but apparently that
would be too technical for non-technical users )
--
View this message in context:
http://drools.46999.n3.nabble.com/Mapping-to-in-enumeration-tp4022245.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users