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

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
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.


Satish Kore
"Flex 3 with Java" @ and
I agree. Here's the link:
subject: Java Enums and Flex
jQuery in Action, 3rd edition