I just checked in some code changes to address this.
The openbluedragon.org site appears to be down at the moment, but
tonight a new openbd-gae.zip should be built to include these changes.
Once the site is back up you should be able to download it & try out
the changes.

If you checkout the source code from the repository you'll find a
war/demo/gae/datastore/ folder which contains an Employee.cfc and an
index.cfm.
I added some new tests/examples to the bottom of that index.cfm to
demonstrate some of the update functionality I believe you are trying
to use.

Note that with these changes it is no longer required to specify a
kind when using googleWrite() to write a *previously-persisted*
struct.

Let me know what you think.

Matt McGinty
NAC

On Thu, Jan 14, 2010 at 4:05 PM, Matthew McGinty <[email protected]> wrote:
> I've reproduced this problem and am working on the solution.
> I'll let you know when I have something for you.
>
> Matt McGinty
> NAC
>
> On Mon, Jan 11, 2010 at 10:34 AM, Nurettin Omer Hamzaoglu
> <[email protected]> wrote:
>> I couldn't find a way to the object update properly. I've tried
>> "writeoutput(googleKey(updateObject))" and see that I get the correct
>> object from the datastore. But after GoogleWrite it always creates a
>> new object with different googlekey instead of updating the object
>> I've read.
>>
>> updateObject = googleRead(Form.team_key);
>> updateObject.setTeamName("#Form.team_name#");
>> updateObject.setCountryID(Form.country_id);
>> GoogleWrite(updateObject);
>>
>> --
>> 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 !!
>>
>
-- 
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