Put the LoginBox class in the client directory

Ian

http://examples.roughian.com


2009/11/3 Nguyen Kim Kha <[email protected]>

>
> 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 [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