I have a widget I'm converting over to 2.2 and I'm stuck on this issue. I have a webservice returning data to this widget. This code worked fine in 1.3, but now I'm getting "term is undefined and contains no properties" error on the line with the ssLabel string variable below:
//set labels equal to sql return rows
ssLabel = ObjectUtil.toString(e.result.Tables.Location1.Rows.list.source[0].ss);
If it helps, here's what e.result.Tables.Location1 returns:Location1(Object)#0 Columns = (mx.collections::ArrayCollection)#1 filterFunction = (null) length = 11 list = (mx.collections::ArrayList)#2 length = 11 source = (Array)#3 [0] "opco" [1] "discharge" [2] "line" [3] "vsmm" [4] "sv" [5] "sstype" [6] "ss" [7] "station" [8] "offdist" [9] "offang" [10] "offdir" uid = "359B3571-8600-D93D-61FF-7A3A300D640C" sort = (null) source = (Array)#3 Rows = (mx.collections::ArrayCollection)#4 filterFunction = (null) length = 0 list = (mx.collections::ArrayList)#5 length = 0 source = (Array)#6 uid = "1A1A451D-77C3-E5C4-D98E-7A3A300D245D" sort = (null) source = (Array)#6Does anyone know why I'm getting this error?thank you,-Adam