No, it's not just me, anything one level deep doesn't get picked up. So my offices also have on address and it's not in the getPath() array either. Even if it was, what's the syntax for sub path elements?
On Sun, Oct 3, 2010 at 8:38 PM, Patrick Julien <pjul...@gmail.com> wrote: > Getting there. So now getPaths() gets me the data for my offices and > patients but not the phones inside the offices. > > Since offices is using my own composite editor, I'm going to assume > that's where the problem is > > On Sun, Oct 3, 2010 at 8:22 PM, BobV <b...@google.com> wrote: >> On Sun, Oct 3, 2010 at 7:24 PM, Patrick Julien <pjul...@gmail.com> wrote: >>> Yeah, because even with using with(). The problem is the entire >>> object graph isn't there >>> >>> So I have a practice that has offices and each office has phones. >>> >>> So if I ask for offices. It fills in the offices but the phones >>> inside it are not. This could get laborious if I need to do this >>> manually for each editing activity >> >> Use RequestFactoryEditorDriver.getPaths(); >> >> >> interface MyOfficeDriver extends >> RequesFactoryEditorDriver<OfficeProxy, OfficeEditor> {} >> >> MyOfficeDriver driver = GWT.create(MyOfficeDriver.class); >> driver.initialize(requestFactory, editor); >> requestFactory.officeService().fetchOffice(1234).with(driver.getPaths()).to(receiver).fire(); >> >> >> -- >> Bob Vawter >> Google Web Toolkit Team >> >> -- >> http://groups.google.com/group/Google-Web-Toolkit-Contributors > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors