Nevermind... another silly mistake.  Is today Monday?

Jason Durham


On Fri, Oct 1, 2010 at 9:56 AM, Jason Durham <[email protected]> wrote:

> I get this error when I attempt to add a State object to an Address object.
>
> //Get Address
> //My base decorator will add all necessary child objects for a given class.
> var address = GeoService.getAddress();
>
> //Get State. Expect state abbreviation
> var state = GeoService.getState( args : {abbreviation = form.state} );
>
> //Populate will loop through args keys and call evaluate(set#args.key#)
> address.populate(
>      args : {
>            Address1 = form.address1,
>            State = state
>      }
> )
>
> If I create a "setState" method on my Address decorator and dump the
> arguments, I see that a TransferObject is being passed in.  Why do I see
> this message when adding a child to a M2O parent?
>
> *The TRANSFER parameter to the setSTATE function is required but was not
> passed in.*
>
> Jason
>

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

Reply via email to