hi... i'm new in the flex world. I'm trying to integrate
fds+spring+hibernate. i was able to retrive data from a spring bean
that accesses a database throw hibernate. the only problem is i can
access the data on the arraycollection in the mxml code but not on
the action script, where it appears to be empty:
<mx:Application...>
<mx:Script>
<![CDATA[
....
ds.fill(pmrecordslist);
...
// this does NOT WORK
trace(pmrecordslist.getItemAt(0).linhaprod);
// empty ( 0 )
trace(pmrecordslist.length)
...
]]>
</mx:Script>
<mx:DataService id="ds" destination="pmrecord" ... >
// this WORKS
<mx:Label text="{pmrecordslist.getItemAt(0).linhaprod}
{pmrecordslist.getItemAt(0).estadopar}"/>
</mx:Application.>
any help would be excellent
thanks