Results 1 to 2 of 2

Thread: Quick Setup for Sencha GXT 3.X issues

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Vote Rating

    Default Quick Setup for Sencha GXT 3.X issues


    Looking at setup.txt that comes with Sencha GXT 3.0.0 I have the following questions:

    1. On 2b. it says href="{module name}/reset.css"

    I have no file named "reset.css" anywhere in my project. GXT comes with two (probably the same):


    So, what is "{module name}" and should "reset.css" be copied somewhere?

    2. Is it a good idea to copy gxt-3.0.0.jar to [YOURPROJECT]/war/WEB-INF/lib


    Blake McBride

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Vote Rating


    Thanks for checking out GXT 3! You don't need to do anything to move reset.css into your web directory - the compiler will automatically make sure it is there, provided you are using a theme that needs it (all themes extending from Base will have it).

    In your module file (ends in .gwt.xml) you might have a rename-to attribute - if so, that is the name of the module. This is the folder in which the modulename.cache.js file is created, along with other things like a hosted.html file, and eventually several <giant-hash-name>.cache.html files. If you don't specify a rename-to, it will default to the path to your module. So a module file at com/my/project/MyProject.gwt.xml will be, and the css file will be loaded like this:

    <link rel="stylesheet" type="text/css" href="" />
    Your html file should already have a JavaScript file loaded from in that same directory.

    As far as copying the jar into WEB-INF/lib/, this is only necessary if you use any GXT classes from your server. The most likely classes will be load config and load result classes in If you dont use them, it should not be necessary to copy it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts