Re: The Future of GWT Report 2012 Published

2012-12-04 Thread nicolas marchais
Maybe it's Jukito : http://code.google.com/p/jukito/


Le mardi 4 décembre 2012 18:18:44 UTC+1, Benjamin DeLillo a écrit :

 There's a mention about very good tools for automated tests, such as 
 Jucikito but Google doesn't find anything for Jucikito, is there a typo? 
 I'd love to know what this very good tool is exactly.

 On Tuesday, December 4, 2012 6:19:05 AM UTC-5, Joonas Lehtinen wrote:

 *The GWT community have been having many questions about the Future of 
 GWT. Questions like: Where is GWT going? How is GWT used today? What are 
 the challenges they are facing? What is the competition? Should I build my 
 next project with GWT?

 When joining the GWT steering committee and deciding to include a full 
 copy of GWT into Vaadin 7 we had the same questions. In the end we stepped 
 forward and asked the GWT community. Now after 2 months of asking and 
 receiving responses to the dozens of questions we had from over over 1300 
 GWT users, we compiled all of this together and are proud to present you 
 with some answers in for of 30 page long report. We would like to thank 
 everyone who participated: You - the very active GWT community who 
 answered, GWT steering committee members and other GWT experts who helped 
 create the questions and analyze the answers, Vaadin team and David Booth 
 who coordinated the effort.

 Enough talking, download your personal copy of The Future of GWT Report 
 at:*
 *
 https://vaadin.com/gwt/report-2012

 *



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/vu8wimt16PoJ.
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.



RequestFactory saving ManyToOne relation return null randomly

2012-01-23 Thread nicolas marchais
I have a weird problem using RF. I try to save a EntityProxy which has
a ManyToOne relation. Depending the order of the instructions i get a
NullPointerException or not.

Here is my code :

MyRequestContext ctx =
ClientFactory.MyRequestFactory.MyRequestContext();

// parent object
UserProxy userCreated = ctx.create(UserProxy.class);

// child object
AddressProxy address = ctx.create(AddressProxy.class);

userCreated.setAddress(address);

userCreated.setLastName(lastName);
userCreated.setFirstName(firstName);

address.setStreet(street);

Long cityId = 1l;

ctx.createInstallation(userCreated,
cityId).with(address.city).fire(new MyReceiverUserProxy() {
public void onSuccess(UserProxy user) {
user.getAddress.getCity(); //Nullpointer exception
because address is null
}
});

If I execute the previous code i get a NPE on this instruction :
user.getAddress.getCity(); -- address is empty. When i debug the
server code i can notice that everything is persited correctly (both
AddressProxy and UserProxy). I use the .with(address.city)
instruction and i expect a non empty empty but it's not the case.

If i change the order of the lines responsible of the EntityProxy
creation like this :
// child object
AddressProxy address = ctx.create(AddressProxy.class);
// parent object
UserProxy userCreated = ctx.create(UserProxy.class);

then the line user.getAddress.getCity(); return me a valid Address
the firts three times and an empty one the next time. I have a random
NPE.

Could you tell me if there is a specific EntityProxy creation order to
respect when using RequestFactory and entities relationship ? Same
question when filling properties ?
Is there something particular with the with() instruction ?
Why my code behave like this ?

-- 
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.