Not a problem, I just happen to be messing around with the same thing this
week.

On Mon, Apr 13, 2009 at 10:33 AM, Paul Grenyer <[email protected]>wrote:

>
> Hi Nick
>
> > I was able to get a MessageBox to pop-up. I put the following in my
> > *.gwt.xml file:
> >
> > <module...
> > <inherits...User/>
> > <inherits name='com.gwtext.GwtExt' />
> > ...
> > <entry-point...
> > <stylesheet src="/js/ext-2.0.2/resources/css/ext-all.css" />
> > <script src="/js/ext-2.0.2/adapter/ext/ext-base.js" />
> > <script src="/js/ext-2.0.2/ext-all.js" />
> > ...
> >
> > I added a "js" folder under the WAR folder. In that folder, I copied
> > the entire contents of EXT zip file.
> > Of course, I put the gwtext.jar in the war/WEB-INF/lib folder and
> > added it to my build path.
>
> This was almost the final piece of the puzzle! When I did the above it
> worked in hosted mode, but not when deployed to TomCat. I was able to
> get it working, however, with a minor modification:
>
> <stylesheet src="../js/ext-2.0.2/resources/css/ext-all.css" />
> <script src="../js/ext-2.0.2/adapter/ext/ext-base.js" />
> <script src="../js/ext-2.0.2/ext-all.js" />
>
> I suspect the the "root" directory (i.e. that accessed by starting the
> url with /) for a TomCat app is different to Jetty/hosted mode. So,
> adding ../ to the start of the url makes it relative to the rest of
> the GWT JavaScript (in my case the masterplan directory) for the
> application.
>
> Anyway, it seems to be working perfectly now, I just need to try a
> more complex example and blog it.
>
> Thanks Nick! If I ever get the chance I'll happily buy you a beer.
>
> (Now I just need to work out why Hibernate is giving rows from a table
> twice and I'll have had a very successful weekend!).
>
> --
> Thanks
> Paul
>
> Paul Grenyer
> e: [email protected]
> w: http://www.marauder-consulting.co.uk
> b: paulgrenyer.blogspot.com
>
> >
>

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