wood burning stoves 2.0*
The moose likes Flex and the fly likes Java Enums and Flex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Java Enums and Flex" Watch "Java Enums and Flex" New topic
Author

Java Enums and Flex

Morten Franorge
Ranch Hand

Joined: Jul 29, 2005
Posts: 137
How do you deal with the fact that Flex does not have an enum type? It causes problem when exposing the java domain model to flex using blaze


SCJP 1.4, SCBCD 1.3, SCBCD 5.0, SCEA J2EE, SCEA 5.0
Satish Kore
Author
Ranch Hand

Joined: Feb 10, 2004
Posts: 43
Hi Morten,

This is known bug/issue and has been Fixed into recent version of LCDS where Java Enum will be serialized into ActionScript String and vice-versa.
For BalzeDS following bug report has been filed and its claimed to be Fixed but I have not confirmed it though. Have a look at the following bug report and solutions they have provided it might help you.
https://bugs.adobe.com/jira/browse/BLZ-17

Thanks,

Satish Kore
"Flex 3 with Java" @ packtpub.com and amazon.com
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Java Enums and Flex