That EnumProxy stuff is for the use case where you want to have an ActionScript 
class which represents the enumerated type.   That gives you compile time 
type-checking of enumerated values but adds a bit more code to the process.   
If you do not mind using a String in AS to represent the enum, it works "out of 
the box"... no need to register the PropertyProxy.

Jeff

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of cwicky99
Sent: Monday, October 06, 2008 11:59 AM
To: [email protected]
Subject: [flexcoders] Re: LiveCycleDS + Java Enums


Ok, so I don't need to use EnumProxy from the proposed work around
(https://bugs.adobe.com/jira/browse/BLZ-17) anymore?

--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Jeff 
Vroom <[EMAIL PROTECTED]> wrote:
>
> The enum handling is part of the AMF serialization so you should be
able to use that with LC DS2.6 as well. Since AS does not have a
native "enum" type, by default a Java5 enum gets serialized to the
client using the string value of the enum.
>
> Jeff
>
> From: [email protected]<mailto:flexcoders%40yahoogroups.com> 
> [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com>]
On Behalf Of cwicky99
> Sent: Monday, October 06, 2008 8:18 AM
> To: [email protected]<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] LiveCycleDS + Java Enums
>
>
> This post:
>
http://www.drflex.eu/2008/07/livecycle-es-data-services-data-management-and-java-enums/
>
> Says that LiveCycleDS 2.6 handles Java enum's out of the box. Does
> anyone know if this only works with DataService objects? I am using a
> Consumer to listen to a JMS topic...but it doesn't seem to work.
>

<<inline: image001.jpg>>

<<inline: image002.jpg>>

Reply via email to