Re: [appengine-java] Setting the key of a child entity

2010-02-18 Thread Manny S
uilder.html > > > On Sun, Feb 14, 2010 at 10:16 PM, Manny S wrote: > >> Thanks Ikai, >> I am doing it the way you described and it does work. Just wanted to know >> if there is a way to set the child key explicitly as parent + "const >> string".

Re: [appengine-java] Setting the key of a child entity

2010-02-14 Thread Manny S
. > > On Thu, Feb 4, 2010 at 1:28 AM, Manny S wrote: > >> I am missing something simple here but can anyone point me to how I can >> set the child key before making the parent data persistent...(in a >> unidirectional one to one relationship) >> >> I create

Re: [appengine-java] Generating Keys

2010-02-08 Thread Manny S
property rather than include it in the key. > > > On 8 Feb 2010, at 14:54, Manny S wrote: > > First off thanks for your time. >> >> I would like to generate a key that is a concatenation of a string with an >> datastore generated key. Is there anyway to do that? >&g

[appengine-java] Generating Keys

2010-02-07 Thread Manny S
First off thanks for your time. I would like to generate a key that is a concatenation of a string with an datastore generated key. Is there anyway to do that? I want my keys to be "appname" + datastore generated key or say generate a key that is currentdate + datastore generated key Any sugges

[appengine-java] Setting the key of a child entity

2010-02-04 Thread Manny S
I am missing something simple here but can anyone point me to how I can set the child key before making the parent data persistent...(in a unidirectional one to one relationship) I create the parent data and the child data parentdata pdata = new parentdata('x','y', 'z'); pdata.setKey(null); child

Re: [appengine-java] UserService and form data

2010-02-01 Thread Manny S
Ikai, Thanks, got it :). Misread your original post. . Too much coffee I guess... Manny On Sun, Jan 31, 2010 at 10:24 AM, Manny S wrote: > Ikai, > > Thanks for the suggestion. Problem is I don't want the sign in to be > mandatory. Users can post with or without signing in. T

[appengine-java] UserService and form data

2010-01-29 Thread Manny S
Question on how to retain form data when the page reloads after user signs in using the userservice - Sample scenario User is entering data into a form User sees sign in button on top right Clicks it and signs in to google account Redirects back to the form page But form data (that the user fille