Friday, June 17, 2016

AutoBean sample not working for me?

Hi,

I copy / pasted the AutoBean serialization example from here:

    http://www.gwtproject.org/doc/latest/DevGuideAutoBeans.html

I've implemented the necessary interfaces etc to setup a quick test which can be summarized as follows:

    PersonImpl person = new PersonImpl();
    person.setName("me");
    person.setAddress(new AddressImpl(...));

    DoSomething test = new DoSomething();
  String json = test.serializeToJson(person);

The value of "json" is null. 

Is this sample working for everyone? I'm using GWT 2.7 with java 1.7.

Thanks

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment