This first image show a new unsaved item in the grid. Notice id = 0. <http://apache-flex-users.2333346.n4.nabble.com/file/n9041/aaNew_Record.png>
This image shows in debug that when the setTrip result event is fired for some reason its still the unsaved record zero rather than the saved id which the web service is suppose to return. The third image will show that the web service does return the saved id but why isnt it available in the action script file when the result event is fired? I need to send the saved id to the grandparent so when I create children Trip Legs, I have the trip id to assign to it. <http://apache-flex-users.2333346.n4.nabble.com/file/n9041/aaSet_Fired_Last_result.png> <http://apache-flex-users.2333346.n4.nabble.com/file/n9041/aawhat_should_have_been_last_result.png> When I did the exact same thing in the mxml file, I was getting the correct id number. But when I moved the code to the actionscript file, now its not returning the correct id. Why? How can this be fixed? -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/result-Handler-fires-but-last-result-does-not-contain-the-correct-data-in-Actionscript-file-tp9018p9041.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
