Nick Risaro [https://community.jboss.org/people/nickrisaro] created the 
discussion

"Re: Problem about define domain specific processes with enum parameter"

To view the discussion, visit: https://community.jboss.org/message/764196#764196

--------------------------------------------------------------
I have the same issue, I reimplemented the EnumDataType, it has a bug (at least 
I think so) in the line where it loads the enum, the original code says:

{code}Class<?> clazz = Class.forName(className);{code}

And Mine is

{code}Class<?> clazz = this.getClass().forName(className);{code}

Now I can pass enums to my handler, and the best part is that the editor 
"validates" the enum and don't let you type a value that is not listed in your 
enum  :) 

Hope that helps!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/764196#764196]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to