riginal Message-
From: transfer-dev@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Mandel
Sent: Wednesday, December 03, 2008 12:49 PM
To: transfer-dev@googlegroups.com
Subject: [transfer-dev] Re: Transfer Noob: error "value returned from the
getParent
er-dev@googlegroups.com [mailto:[EMAIL PROTECTED]
>> On Behalf Of JoshNathanson
>> Sent: Wednesday, December 03, 2008 11:45 AM
>> To: transfer-dev
>> Subject: [transfer-dev] Re: Transfer Noob: error "value returned from the
>> getParentsystem function is not of
ginal Message-
> From: transfer-dev@googlegroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of JoshNathanson
> Sent: Wednesday, December 03, 2008 11:45 AM
> To: transfer-dev
> Subject: [transfer-dev] Re: Transfer Noob: error "value returned from the
> getParentsystem function is not o
e-
From: transfer-dev@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of JoshNathanson
Sent: Wednesday, December 03, 2008 11:45 AM
To: transfer-dev
Subject: [transfer-dev] Re: Transfer Noob: error "value returned from the
getParentsystem function is not of type transfer.com.TransferObj
Thanks Chris. Actually the issue was in trying to save a transaction
object rather than a system object. I changed the relationship from a
onetomany on the system object to a manytoone on the transaction
object and it seems to be working fine now. My xml now looks like
this:
sorry, tried to tab and press space and sent early (yea, thats what SHE
said!) anyway...
well, you can use a self-closing tag for the collection type, ie:
(probably not a big deal, but meh)
Also, you need to attach the 'transaction' object to something (your system
well, you can use a self-closing tag for the collection type, ie:
(probably not a big deal, but meh)
Also, you need to attach the 'transaction' object to something (your system
object), so your code should (could) look something like this:
system = transfer.get("system", 1);
transaction = tr