I couldn't manage to update with the following code, any ideas? Entity
updated but Country data could not be set.

Country = googleRead(Form.country_key);
Team = googleRead(Form.team_key);
Team.setTeamName("#Form.team_name#");
Team.setCountry(Country);
googleWrite(Team);

I'm using the following getters and setters.
<cffunction name="setCountry" returntype="void">
        <cfargument name="argCountry" type="Country" required="Yes"/>
        <cfset variables.COUNTRY = arguments.argCountry/>
        <cfreturn />
</cffunction>

<cffunction name="getCountry" returntype="Country">
        <cfreturn variables.COUNTRY/>
</cffunction>

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to