Found it !!!

thanks to your suggestions ad 
http://ozeebee.blogspot.com/2008/07/excluding-properties-from-java.html
OzeeBee's article , I got a working-yet-not-very-sexy way to bypass the
problem using 

    flex.messaging.io.BeanProxy.addIgnoreProperty(My.class, "Property");




ouaqa wrote:
> 
> It's me again.
> 
> I've been searching for a couple of hours for any documentation on the
> PropertyProxy class but i didn't find much about it, except for the class
> definition and a fex threads but no basic tutorial or stuff like that.
> 
> I'm still pretty new to java & actionscript, so if anyone could point me
> the direction here, I'd be greatly appreciative. Some sources, a link to a
> tutorial, anything ...
> 
> I'll keep searching meanwhile, there must be a concrete example somewhere
> 
> 
> Tim Hoff wrote:
>> 
>> 
>> This is just the flex vo side.  No change to the java transfer object is
>> necessary; for transient fields that live only in the flex app.
>> 
>> -TH
>> 
>> --- In [email protected], Josh McDonald <j...@...> wrote:
>>>
>>> That still requires adding the fields to the Flex object. Marking the
>> field
>>> @Transient in Java will affect Hibernate, unless Blaze / LCDS have
>> their own
>>> @Transient I'm not aware of. There's also this blazeds annotations
>> add-on:
>>> http://is.gd/sETx
>>>
>>> SmartyPants-J will do this, but it's nowhere near escaping yet :)
>>>
>>> -Josh
>>>
>>> 2009/4/16 Tim Hoff timh...@...
>>>
>>> >
>>> >
>>> > Yep, here's an example:
>>> > *
>>> >
>>> > private
>>> > * *var* _myProperty:String;
>>> >
>>> > [Transient]
>>> > [*Bindable*( event=*"myPropertyChange"* )]
>>> > /**
>>> > * myProperty.
>>> > * @private
>>> > */
>>> > *public* *function* *get* myProperty():String
>>> > {
>>> > * return* _myProperty;
>>> > }
>>> >
>>> > /** @private */
>>> > *public* *function* *set* myProperty( value:String ):*void
>>> > *{
>>> > _myProperty = value;
>>> > dispatchEvent( *new* Event( *"myPropertyChange"* ) );
>>> > }
>>> >
>>> > -TH
>>> >
>>> > --- In [email protected], "Amy" amyblankenship@ wrote:
>>> > >
>>> > > --- In [email protected], ouaqa ab@ wrote:
>>> > > >
>>> > > >
>>> > > > This is an option but i was wondering if you couldn't use some
>> special
>>> > > > "ninja" keyword telling lcds not to map the field to lcds.
>>> > >
>>> > > Transient?
>>> > >
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> "Therefore, send not to know For whom the bell tolls. It tolls for
>> thee."
>>>
>>> Josh 'G-Funk' McDonald
>>> - j...@...
>>> - http://twitter.com/sophistifunk
>>> - http://flex.joshmcdonald.info/
>>>
>> 
>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-Could-I-%22not%22-map-a-property-to-lcds-object---tp23059499p23078477.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to