It works. Thanks a lot... I have just open http://examples.roughian.com, this site is very useful for me... Thank you so much!
On 3 Tháng Mười Một, 23:12, Ian Bambury <ianbamb...@gmail.com> wrote: > Put the LoginBox class in the client directory > > Ian > > http://examples.roughian.com > > 2009/11/3 Nguyen Kim Kha <nkim...@gmail.com> > > > > > > > I'm newbie... I wrote one file: > > > public class NewProj implements EntryPoint { > > /** > > * This is the entry point method. > > */ > > public void onModuleLoad() { > > LoginBox login = new LoginBox("kkk"); > > RootPanel.get("left").add(login); > > } > > } > > > And in file LoginBox.java: > > > public class LoginBox extends Composite { > > private VerticalPanel content = new VerticalPanel(); > > public LoginBox(String caption) { > > final Label labelCaption = new Label(caption); > > content.add(labelCaption); > > initWidget(content); > > } > > } > > > But when I run it, in GWT Hosted Mode window, there is error message: > > No source code is available for type kakalia.appengine.demo.LoginBox; > > did you forget to inherit a required module? > > > I don't know why, pls help me > > > KimKha --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---