Skip navigation
Thomas Klaas
Currently Being Moderated

ignore property on RemoteObject

May 12, 2009 3:08 AM



I have got some AS Object that are mapped to an Java object with the RemoteClass metatag.


Is it possible to define extra properties just on Flex site to store some data at runtime?
If there is no getter/setter for this value on Java site, I got the following error on Java site:

[BlazeDS]Unable to create a new instance of type 'FlexObject'.


The documentation says that I can add the following tagto my amf channel definition to ignore INCOMING properties that cannot be det in my flex object.

<ignore-property-errors> true </ignore-property-errors>


Is there any metatag taht I can add to my flex object that tell Blaze DS not to send this property to the client?

Something like this:



public var clientProperty:Object;


Or is it possible by subclassing my mapped object and add an additional property?


Thanks for your help,


  • Currently Being Moderated
    Dec 10, 2012 6:51 AM   in reply to Thomas Klaas

    This may be a VERY old question but on the off chance that someone looks at it, it looks like what you are after is the [Transient] metadata tag.



    Use the [Transient] metadata tag to identifies a property that should be omitted from data that is sent to the server when an ActionScript object is mapped to a Java object using the[RemoteClass] metadata tag.

    The [Transient] metadata tag has the following syntax:

    [Transient] public var count:Number = 5;  
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points