creating ValueProxies on the client

2011-03-07 Thread koma
Hi, My ValueProxy looks like this : @ProxyForName(com.google.gdata.data.extensions.FamilyName) public interface FamilyNameProxy extends ValueProxy { public String getValue(); public void setValue(String familyName); } I have similar proxies for EmailProxy, FullNameProxy, GivenNameProxy etc

Re: creating ValueProxies on the client

2011-03-07 Thread koma
I see that in the DynaTableRF example, creating value proxies is done through the service @Service(value = ScheduleService.class, locator = ScheduleServiceLocator.class) interface ScheduleRequest extends RequestContext { RequestTimeSlotProxy createTimeSlot(int zeroBasedDayOfWeek, int

Re: creating ValueProxies on the client

2011-03-07 Thread koma
So I will need methods : public Email createEmail() { return new Email(); } public Name createName() { return new Name(); } public GivenName createGivenName() { return new GivenName(); } public FamilyName createFamilyName() { return new FamilyName(); } public FullName createFullName() {

Re: creating ValueProxies on the client

2011-03-07 Thread koma
and each backed by interface method... (i now I finish this conversation with myself) -- 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,

Re: creating ValueProxies on the client

2011-03-07 Thread koma
Ok figured it out : requestFactory().contactsService().create(EmailProxy.class) works; -- 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