Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Brandon Donnelson
I put more info and demo here: http://code.google.com/p/gwt-examples/wiki/DemoActivitiesAndPlaces -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Patrick Julien
I didn't see this thread earlier but you might find this information useful. Looking at some of your code, some observations: 1. For WalletData and WalletItemData, you don't have to manually set up the owning key yourself. See the following:

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Brandon Donnelson
Thanks for looking at my code. I wanted to follow up. to 1. I was having problems with the implying the parent in the ownership, so I had to do it manually. I have other projects where I use RPC and I don't have to set the parent. For some reason I wasn't able to get it to work in this

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-31 Thread Patrick Julien
1. Well, the previous post has the link to the AppEngine JDO documentation on how to do that but it doesn't work in JPA the same way, more on that later in #4 2. You're right. I've been using gin for so long that I've forgotten about the setFactory method. The reason it works is not because of

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-19 Thread Brandon Donnelson
I figured out how to saved owned entities, but I can't seem to transport them back in the proxy. How can I get the children to come along for the ride? http://code.google.com/p/gwt-examples/source/browse/trunk/WalletInventory/src/com/gonevertical/server/jdo/WalletData.java#84 -- You

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-19 Thread Brandon Donnelson
I solved it. Wahoo!. :) I needed to use .with(items) in the query to get the children. http://code.google.com/p/gwt-examples/source/browse/trunk/WalletInventory/src/com/gonevertical/client/views/impl/WalletListViewImpl.java#68 -- You received this message because you are subscribed to the

Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-16 Thread Brandon Donnelson
I'd like to use an owned Listentity collection. I ran out of time this weekend to figure out how to use an Owned Collection in RequestFactory. Has anybody else used an owned collection in the Entity with RequestFactory? source location: