I have a master/detail data entry form and I have some difficulties transfering the data objects from AS2 to the server side. The data persitence is implemented with Hibernate and I have a one to many relations between a Parent object and his Child(s) objects.
Here is the AS2 implementation of the data model:
class Parent
{
public static var regClass = Object.registerClass("Parent", Parent);
public var property : String;
public var childs : Array = new Array();
public function Parent() {}
}
class Child
{
public static var regClass = Object.registerClass("Child", Child);
public var property : String;
public var parent : Parent;
public function Child() {}
}
Here is my problem: It looks that when I transfer the Child object from AS2 to Java via Remote Object call, the "parent" property is empty ( Parent's properties are initialized to the default values ) on the server side no matter what value I have on the AS2 side. Is there any issue with the serialization from AS2 to JAVA in this case?.
I transfer the Parent object from AS2 to JAVA and everything is OK.
Thank you,
Valy
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

