Re: RequestFactory Entities relationship
You don't have to use with() if you don't want to populate relations of the object graph http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#relationships to refer to more than one relation, use with(rel1, rel2, etc) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Entities relationship
In fact I'm trying to convert a Datastore accessed via RPC and DTOs to RequestFactory. So far the entities have been populated by the old system I'm just trying to read data for the now I'm sorry I'v just missed this paragraph ! Thanks anyway Patrick - Original Message - From: Y2i To: google-web-toolkit@googlegroups.com Sent: Thursday, March 31, 2011 8:54 AM Subject: Re: RequestFactory Entities relationship You don't have to use with() if you don't want to populate relations of the object graph http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#relationships to refer to more than one relation, use with(rel1, rel2, etc) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1209 / Base de données virale: 1500/3541 - Date: 30/03/2011 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Entities relationship
It is also necessary to use the with() method to retrieve any properties with types extending ValueProxy. The with() method takes multiple String arguments, so you can specify multiple property names at once. To specify nested properties, use dot notation. Putting it all together, you might have Request findReq = find(personId).with(phone,address.city,address.zip)does it means that you have to persist or merge using with tooThanksPatrick- Original Message - From: Metronome Basic To: google-web-toolkit@googlegroups.com Sent: Thursday, March 31, 2011 10:00 AM Subject: Re: RequestFactory Entities relationship In fact I'm trying to convert a Datastore accessed via RPC and DTOs to RequestFactory. So far the entities have been populated by the old system I'm just trying to read data for the now I'm sorry I'v just missed this paragraph ! Thanks anyway Patrick - Original Message - From: Y2i To: google-web-toolkit@googlegroups.com Sent: Thursday, March 31, 2011 8:54 AM Subject: Re: RequestFactory Entities relationship You don't have to use with() if you don't want to populate relations of the object graph http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#relationships to refer to more than one relation, use with(rel1, rel2, etc) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1209 / Base de données virale: 1500/3541 - Date: 30/03/2011 -- Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1209 / Base de données virale: 1500/3541 - Date: 30/03/2011 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Entities relationship
No, RequestFactory automatically sends the whole object graph in a single request. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.