Expand my Community achievements bar.

seth_hodgson
seth_hodgson
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • The documentation on page 1225 of the dev guide is wrong.I've passed along a request to have it corrected.If you look at the DataService API, you'll note that severalmethods (fill(), commit(), etc.) return an AsyncToken. This tokenis a dynamic class, meaning you can assign ad-hoc data to it, andthe ...

    Type

    Discussions

    Views

    643

    Likes

    0

    Replies

    0
  • Hi Ken,token.kind is undefined by default. However, token is aninstance of AsyncToken, a dynamic class, so if you want to add a"kind" field to your tokens you can do that. The token (plus anyadditions you make to it) is handed back on the result or faultevent so you can drive your completion process...

    Type

    Discussions

    Views

    643

    Likes

    0

    Replies

    0
  • The list-based classes (including DataGrid) do some massagingin the setter for dataProvider. If the assigned value is an Arrayit is wrapped automatically in an ArrayCollection. If it's alreadya ListCollectionView (ArrayCollection or XMLListCollection) it'sused as is.If the server returns data that's...

    Type

    Discussions

    Views

    511

    Likes

    0

    Replies

    0
  • Hi Ken,When you invoke fill() the asynchronous result or fault isdispatched and you can check the event.token.message.operation tosee if it's in response to your fill or not. Like commit(), fill()returns an AsyncToken that you can add a result/fault responder to.AsyncToken is a dynamic class so you ...

    Type

    Discussions

    Views

    643

    Likes

    0

    Replies

    0
  • Hi Jimmy,Your event.result contains an Array. The 'as' operatorattempts to cast to the type you've specified (ArrayCollection) andif it can't returns null. So your app was binding null to thegrid's dataProvider property. You could either do:myData = new ArrayCollection(event.result as Array);or chan...

    Type

    Discussions

    Views

    511

    Likes

    0

    Replies

    0
  • Hi Ken,The transactioned result corresponds to the commit and thedelete corresponds to the delete. DataService operations are sentwithin a batched or transactioned message and this will be the lastresult dispatched so if you want to use a general result handleryou should base your post-completion pr...

    Type

    Discussions

    Views

    643

    Likes

    0

    Replies

    0
  • In order to update the JVM your app server is using you'llneed to refer to your server docs because 1.5 JVM support andconfiguration varies by app server.Best,Seth

    Type

    Discussions

    Views

    340

    Likes

    0

    Replies

    0
  • Flex is not a SQL server. The Flex SDK and compiler supports developing applicationsthat run in the Flash player.Flex Data Services is deployed as a Java web application thatsimplifies integrating Flex clients with Java server-side resources(including interacting with SQL databases via Java).FlexBui...

    Type

    Discussions

    Views

    551

    Likes

    0

    Replies

    1
  • Hi JS,In your Java project you'll need to make sure that yourclasses directory is included in your build path. This is Java andEclipse JDT specific so check the Eclipse docs/forums for moredetails if necessary.Best,Seth

    Type

    Discussions

    Views

    190

    Likes

    0

    Replies

    0
  • Hi Mark,I'm not sure I'm following - so you get a fault event but thearraycollection on the client is also correctly filled?Best,Seth

    Type

    Discussions

    Views

    428

    Likes

    0

    Replies

    0
Top badges earned by seth_hodgson
Customize the badges you want to showcase on your profile