Miguel,
Thanks for the suggestion, there aren't any errors on the server side.
Here's my ...impl method code:
public List<Country> getAllCountries() {
/*PersistenceManager pm = PMF.get().getPersistenceManager();
Query query = pm.newQuery(Country.class);
try {
List<Country> results = (List<Country>) query.execute();
return results;
} finally {
query.closeAll();
pm.close();
}*/
Country c = new Country ("Jamaica", -0.1f, 0.1f);
ArrayList <Country> list = new ArrayList<Country>(1);
list.add(c);
return list;
}
The Country class consists of simple String and float fields, so it's
definitely serializable (I hope).
2009/5/12 Miguel Méndez <[email protected]>
> It looks like you are using ORM. There are a couple of places where GWT
> serialization and ORM don't play nice together. An exception should be
> getting logged on the server if that is the case.
> On Tue, May 12, 2009 at 11:14 AM, Fred Sauer <[email protected]> wrote:
>
>> Check the 'problems' view in eclipse for any warnings of an out of date
>> gwt-servlet.jar
>>
>> Alternatively, delete the jar from you WEB-INF/lib and the use the
>> problems view to right click and bring back in the proper gwt servlet jar.
>>
>> HTH
>> Fred
>>
>> On May 12, 2009 8:04 AM, "Pavel Byles" <[email protected]> wrote:
>>
>> Ian,
>> I'm using whatever came with the Google Eclipse Plugin (1.6.4)
>> When I tried updating the plugin there's nothing to update.
>>
>> Thanks... anymore ideas?
>>
>> On Tue, May 12, 2009 at 10:44 AM, Ian Bambury <[email protected]>
>> wrote: > > Check that you are...
>>
>>
>>
>>
>
>
> --
> Miguel
>
> >
>
--
-Pav
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---