Have you try casting this:
I think the problem is the conversion that occurrs when the object gets converted between flex and your RO. Try debuggin to see how the data is coming back from your server.
I think this is necessary:
drcheck.selected = mainList.selectedItem.DrCheck == "true" ? true : false;
pscheck.selected = mainList.selectedItem.PsCheck == "true" ? true : false;
Its because the data is treated as strings.
Thanks, that worked, sort of. I ended up having to do a cfset in my cfc to convert the YES or No to a true false. What a pain. So now that I got the data base getting the slection from the checkbox, I want to do an update to the ArrayCollection. I am doing this:
var currentlySelectedItem : Object = mainList.selectedItem;
currentlySelectedItem.Vin = Vin.text;
currentlySelectedItem.BrandID = BrandID.text;
currentlySelectedItem.BrandID2 = BrandID2.text;
currentlySelectedItem.drcheck = drcheck.selected;
currentlySelectedItem.pscheck = pscheck.selected;
The Vin works when I change the Vin, update the database the AC gets updated and when I click off that vin and to another and back the update stays. So thats good. My problem is with the BrandID, BrandID2 these are RO filled Comboboxs that do not get updated and back to my original part the checkboxs do not get updated. The DB updates but the AC does not. Any thoughts?