1. #1
    Ext User
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    dmccallie is on a distinguished road

      0  

    Default Can't find css/ext-all.css using Eclipse 3.4 / Mac OS X

    Can't find css/ext-all.css using Eclipse 3.4 / Mac OS X


    Hi,
    I am evaluating GWT 1.6.4 + GXT 2.0-M1, and using Eclipse 3.4 on a Mac, under Java 5 (32 bit)

    I can get a simple demo to run, but the hosted browser can't find any of the CSS and Image files necessary to decorate the forms. THe hosted browser returns a 404 on
    "GET /css/ext-all.css" as well as 404's on certain GET Image/.... requests later on.

    Where are the resources that aren't being found?

    I created a sample GWT app using the GWT Eclipse plugin and did the following after confirming that the simple GWT app worked correctly:
    + added <inherits name='com.extjs.gxt.ui.GXT'/> to the module.xml file
    + added <link rel="stylesheet" type="text/css" href="css/ext-all.css" /> to the host page
    + added gxt.jar to the build_path (and automatically to the class_path.)

    Clearly some key static resources aren't being found - what should I add and where? I don't see any examples using the GWT Eclipse Plugin - is this a problem?

    Thank you!

  2. #2
    Sencha User
    Join Date
    Feb 2009
    Location
    Riyadh, Saudi Arabia
    Posts
    6
    Vote Rating
    0
    sby is on a distinguished road

      0  

    Default


    you have to add the resources to any location in WAR directory structure.

    then change the css link in you application HTML file to point to the new name gxt-all.css

    the resources founded in library directory.

  3. #3
    Ext User
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    dmccallie is on a distinguished road

      0  

    Default


    Thank you! I guess the documentation is wrong. I created a sub directory "gxt" under the "war" directory, and then copied the contents of the "resources" folder from the distribution zip file to war/gxt/*. Then I updated the links in my head web page to point to:

    <link type="text/css" rel="stylesheet" href="gxt/css/gxt-all.css">

    and it worked like a charm!

  4. #4
    Ext User
    Join Date
    Jul 2009
    Posts
    1
    Vote Rating
    0
    matla69 is on a distinguished road

      0  

    Default gxxt css file not found

    gxxt css file not found


    DMCCallie, i created a sub directory gxt under the war but i don't know where is the direcorty ressource? its src directory with my class java?
    My appli only with GWT works but not with GXt... could you explain the installation please?
    The file gxt-all.css is visible? or it's inside the jar?

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi