I am using Flex as my Frontend and Java as the MiddleTier and also Hibernate to interact with the database
Moreover the framework is Seam
I wrote the services-config.xml for destination java classes which are actually entities refering to Database tables
In flex I provided the destination as my Java class which actually referring to my database table
<mx:RemoteObject id="cargo" destination="itCargoPositionAction">
<mx:method name="getCargoPos" result="resultHandler(event);" fault="Alert.show(event.fault.faultString)"/>
</mx:RemoteObject>
getCargoPos() returns a list of rows in a Database table
private function resultHandler(e:ResultEvent):void
{
for each(var dbObj:Object in e.result)
{
Alert.show(dbObj.icStorageNameDetailByStorageName);
}
}
This is giving the alert with nothing.
Actually 'icStorageNameDetailByStorageName' is one of the columns in the table,this column holds the references to someother table in the database
I want to get the values from that table using the reference available in this table
Here the relation ship b/w these tables is Master/Detail relation
Please help........... me
I am suffering from this issue alot from long time