Hi Sanjith-

I don't completely follow your question but any shared code between
the client and the server has to reside in the client package (by
default).  This is because GWT can only see code in the modules you
have defined and the server package isn't a GWT module (again, by
default).

Hope this helps!

On Nov 8, 10:30 am, Sanjith Chungath <[email protected]> wrote:
> Greetings to all,
>        I have defined a class in the server and want to get a list of
> objects (of that class) as return parameter of an async call. But while
> compile I got  following error "No source code is available for type
> com.abc.pqr.data.XXX; did you forget to inherit a required module?". I know
> that it is because GWT dont know the java script code for coresponding
> class. What is the general practice to use a object of class in server side
> at client code, serialize it? or any other better way.
>
> -Sanjith.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to