Could you say what the purpose of a ServerPanel is? Everything for GWT afaik should be placed in the client or shared directory. I don't think there is much sense in using client-side ui objects on the server.
On Thu, May 27, 2010 at 11:55 AM, Magnus <[email protected]>wrote: > Hello, > > I am absolutely new to GWT and I would like to start with a generic > panel as a container for my GUI. > > So I created a new Panel derived from SimplePanel and added it to my > host page: > > final MyPanel p = new MyPanel (); > RootPanel.get("TestContainer").add(p); > > Within the panel constructor I create a text box, so that I can verify > that everything works. > > However, I wonder where to place my panel class: I placed a class > "ClientPanel" in the client directory and a class "ServerPanel" in the > server directory within the eclipse project directory tree. > > When I use the ClientPanel, it works. When I use the ServerPanel, I > get errors within eclipse, e. g. > "[ERROR] [firstwebapp] Unable to find type > 'fwa.Application.client.FirstWebApp'" > > Any hints? > > Thank you > Magnus > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- -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.
