stylesheet src="js/ext/resources/css/ext-all.css" /> remove '/' before 'js'
2009/8/22 Frank <chenlong...@gmail.com> > > Try this way: > > <stylesheet src="../js/ext/resources/css/ext-all.css" /> > > > On Jul 4, 11:35 pm, Marko Vuksanovic <markovuksano...@gmail.com> > wrote: > > I have copied ext-js library into war folder of my gwt project. Then I > > have included it in my project.gwt.xml file as follows: > > > > <stylesheet src="/js/ext/resources/css/ext-all.css" /> > > <stylesheet src="/js/ext/resources/css/xtheme-slate.css" /> > > <script src="/js/ext/adapter/ext/ext-base.js" /> > > <script src="/js/ext/ext-all.js" /> > > <script src="/js/gridsearch/ext-ux-grid-search.js" /> > > <script src="/js/livegrid/livegrid-all.js" /> > > <script src="/js/livegrid/BufferedStore.js" /> > > <script src="/js/mif/ext-ux-miframe.js" /> > > > > after building the project, using the ant script that was created by > > the gwt sdk command line tool, the ext folder is not included in the > > <modulename>\js\ folder (nor in the <modulename>). > > > > There is also one more problem that I encountered - When I deploy the > > war file onto a server- when I typehttp://localhost:8080/project > > (which is the name of the war file as well as the gwt project itself) > > the application looks for the javascript files > athttp://localhost:8080/js/ext.. > > and it should be looking for them athttp://localhost:8080/project/js/ext. > > > > Any help on this issue would be greatly appreciated. > > > > -- 李静 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---