The problem was that the datastore uses another class to save the list, org.something.appengine.list, instead of the regular java.util.list, so when i returned the saved list i got an error because the datastore class isnt in the serialization policy, what i've done for now is to create a clone from the saved list and cast a regular list and return that, it seems to be working fine. Thanks for the answer.
On 19 Fev, 15:41, javajim <[email protected]> wrote: > You have to make sure that the GWT compiler can get access to the > "Finfo" class. > > For example, if "Finfo" is declared in the package > "com.mycompany.pojo" then you would have to add a line to your > "mycompany.gwt.xml" file like the following: > > <source path="pojo" /> > > This will make sure the GWT compiler has the source to the class for > "Finfo". > > If you are using JDO or JPA this might be more complicated. If you can > include a stacktrace with your post, that would be helpful. > > On Feb 18, 11:54 am, BimboJones <[email protected]> wrote: > > > Hi, > > > I'm trying to return a List through an rpc call, > > > public List<Finfo> getUserFileList(String id) { > > return new Funcs().getUserFileList(id); > > } > > > getUserFileList(id) returns a List<Finfo> but i get a > > SerializationException that the Finfo class isn't included in the > > Serialization Policy, i have similar code that was working in previous > > version of gwt. > > > Thanks for any help -- 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.
