[transfer-dev] Re: Transfer Noob: error "value returned from the getParentsystem function is not of type transfer.com.TransferObject"

2008-12-03 Thread Josh Nathanson
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

[transfer-dev] Re: Transfer Noob: error "value returned from the getParentsystem function is not of type transfer.com.TransferObject"

2008-12-03 Thread Mark Mandel
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

[transfer-dev] Re: Transfer Noob: error "value returned from the getParentsystem function is not of type transfer.com.TransferObject"

2008-12-03 Thread Chris Peterson
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

[transfer-dev] Re: Transfer Noob: error "value returned from the getParentsystem function is not of type transfer.com.TransferObject"

2008-12-03 Thread Josh Nathanson
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

[transfer-dev] Re: Transfer Noob: error "value returned from the getParentsystem function is not of type transfer.com.TransferObject"

2008-12-03 Thread JoshNathanson
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:

[transfer-dev] Re: Transfer Noob: error "value returned from the getParentsystem function is not of type transfer.com.TransferObject"

2008-12-03 Thread Chris Peterson
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

[transfer-dev] Re: Transfer Noob: error "value returned from the getParentsystem function is not of type transfer.com.TransferObject"

2008-12-03 Thread Chris Peterson
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