1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Vote Rating
    blake1024 is on a distinguished road


    Default Quick Setup for Sencha GXT 3.X issues

    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
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice



    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 com.my.project.MyProject, and the css file will be loaded like this:

    <link rel="stylesheet" type="text/css" href="com.my.project.MyProject/reset.css" />
    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 com.sencha.gxt.data.shared. If you dont use them, it should not be necessary to copy it.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar