[rules-users] enums and subclass under guvnor : no listbox

2011-07-26 Thread Vincent LEGENDRE
Hi all I have two simple classes : The parent class has a field that is an enum. The other class inherits from the parent class. Under Guvnor, everything is OK for the parent class : when I add a constraint on the enum field, I see a listbox with enum values But for sub-class, the same

Re: [rules-users] enums and subclass under guvnor : no listbox

2011-07-26 Thread Michael Anstis
Sounds like it. When raising the JIRA please can you provide an example repo? Also, please state whether the sub-class a declared type or a POJO in a JAR model. Thanks, Mike 2011/7/26 Vincent LEGENDRE vincent.legen...@eurodecision.com Hi all I have two simple classes : The parent class

[rules-users] enums

2008-07-28 Thread thomas kukofka
Hello, If have an input object Inputobject which contains an enum Parameter which contains all allowed parameters of InputObject: The entries for the parameters are stored in a map: private HashMapParameter, String stringParameters; If I try: io: InputObject (

Re: [rules-users] enums

2008-07-28 Thread Ingomar Otter
I don't understand the structure, could you post more source please? --I Am 28.07.2008 um 13:43 schrieb thomas kukofka: =Field/method 'InputObject' not found for class 'com.rules.InputObject'Rule ___ rules-users mailing list

Re: [rules-users] enums

2008-07-28 Thread Scott Reed
Try a simple rule that just checks for any InputObject to make sure you have the class imported correctly. Rule x when InputObject() then end thomas kukofka wrote: Hello, If have an input object Inputobject which contains an enum Parameter which contains all allowed parameters of

[rules-users] enums

2008-07-28 Thread thomas kukofka
Hi, I tried this. No problem at all. I can use enums also like this: io: InputObject(type == InputObject.Parameter.PARAMETERNAME) Only this causes the error: private HashMapParameter, String stringParameters; public HashMapParameter, String getStringParameters() {

Re: [rules-users] enums

2008-07-28 Thread Scott Reed
Thomas, This is beyond my level of expertise. I hope someone else here can help you. It looks like a bug. Sorry, Scott thomas kukofka wrote: Hi, I tried this. No problem at all. I can use enums also like this: io: InputObject(type == InputObject.Parameter.PARAMETERNAME) Only