Thank you, that was very helpful/informative.

--- In [email protected], "Dirk Eismann" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> [Managed] is only useful if you use the Data Management feature of the
> Flex Data Services (FDS). If you just use RemoteObject to connect to
> your Java side, then [RemoteClass] should be enough (maybe you may want
> to add [Bindable] to the class body or some of the public properties).
> 
> [Managed] does some behind-the-scenes-magic, most importantly it takes
> your AS class makes it implement the mx.data.Imanaged interface. This
> ensures that all changes to the object are propagated to the Flex 2
> framework. It also enforces that all instances of the class have a
> unique UID identifier.
> 
> Rule of thumb: 
> 
> 1) if you use the Data Management feature (with or without Cairngorm),
> your VO classes should be decorated with [Managed] and [RemoteClass]
> metadata. You can leave out [Bindable] as this is implicit for [Managed]
> 
> 2) if you use RemoteObject (with or without Cairngorm) your VO classes
> should be decorated with the [RemoteClass] metadata and may be
> [Bindable] as well
> 
> Dirk.
> 
> > -----Original Message-----
> > From: [email protected] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of laidezmon
> > Sent: Monday, September 25, 2006 2:38 PM
> > To: [email protected]
> > Subject: [flexcoders] Re: Managed Attribute for Actionscript 
> > class objects
> > 
> > Ok one last effort to get this on the top. Hopefully someone 
> > can answer this question.
> > 
> > --- In [email protected], "laidezmon" <laidezmon@> wrote:
> > >
> > > Hoping to keep this from getting dropped to the bottom. 
> > > 
> > > Does anyone have any idea about this?
> > > 
> > > --- In [email protected], "laidezmon" <laidezmon@> wrote:
> > > >
> > > > Question for the group here. 
> > > > 
> > > > I am working on an enterprise app, and I have gone through every 
> > > > piece of documentation and training I can get my hands on.
> > > > 
> > > > I noticed in all the help for Flex, the training/tutorials say to 
> > > > use the [Managed] attribute on your bindable actionscript objects 
> > > > that refer to java objects.
> > > > 
> > > > However I am going through the Cairngorm 2 store stuff, 
> > and none of 
> > > > thier actionscript objects have that attribute associated 
> > with them, 
> > > > even though they are actionscript objects that are 
> > translated to and 
> > > > from java objects.
> > > > 
> > > > So when are you supposed to use it, and when are you now? 
> > Why is it 
> > > > different in cairngorm? What does it really do?
> > > >
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to