Thanks everyone. I started from scratch and made it work. On Oct 14, 12:26 am, Thomas Broyer <[email protected]> wrote: > On 13 oct, 17:04, Eyal99 <[email protected]> wrote: > > > > > Hi all, > > > I'm new to this. I'm trying to create a simple GWT component with > > Eclipse 3.5 plugin in the following way: > > > 1. I create a new Module (new > other > ...). All it does for me is > > generate a MyPage.gwt.xml in com.myApp package. > > > 2. I create a MyPage.java class in com.myApp.client and I have it > > extend EntryPoint. > > > 3. I created a MyPage.html and MyPage.css in the war directory. > > > 4. I went to web.xml and specified MyPage as the welcome-file. > > > Now I run the application and go to the appropriate > > address,http://127.0.0.1:8888/MyPage.html?gwt.codesvr=127.0.0.1:9997, and I > > get the page, MyPage.html, but all it has in the static information on > > it. It doesn't call the MyPage.java, and doesn't do anything with it. > > I know this for sure because I put a simple System.out line in > > onModuleLoad() and it's not called. > > > Obviously I'm not making the connection between these components. What > > am I missing? > > You didn't precise if you correctly added the appropriate <script> to > your MyPage.html page to load your module. > This would be <script src="com.myApp.MyPage/ > com.myApp.MyPage.nocache.js"></script> if you didn't include a rename- > to attribute in MyPage.gwt.xml.
-- 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.
