1. #1
    Ext User
    Join Date
    Oct 2008
    Posts
    33
    Vote Rating
    0
    taocore is on a distinguished road

      0  

    Default update 1.1.1 to 1.2 failed.

    update 1.1.1 to 1.2 failed.


    steps:
    1 replace the gxt.jar
    2 clean & recompile
    3 start server(tomcat6)
    4 open the site on browser(Firefox 3.0.6) and found it is an EMPTY page
    page source:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <!-- The HTML 4.01 Transitional DOCTYPE declaration-->
    <!-- above set at the top of the file will set     -->
    <!-- the browser's rendering engine into           -->
    <!-- "Quirks Mode". Replacing this declaration     -->
    <!-- with a "Standards Mode" doctype is supported, -->
    <!-- but may lead to some differences in layout.   -->
    
    <html>
      <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <!--                                           -->
        <!-- Any title is fine                         -->
        <!--                                           -->
        <title>App</title>
        
        <!--                                           -->
        <!-- This script loads your compiled module.   -->
        <!-- If you add any GWT meta tags, they must   -->
        <!-- be added before this line.                -->
        <!--                                           -->
        <script type="text/javascript" language="javascript" src="com.desktop.web.App.nocache.js"></script>
        <link rel="stylesheet" type="text/css" href="css/ext-all.css" />
      </head>
    
      <!--                                           -->
      <!-- The body can have arbitrary html, or      -->
      <!-- you can leave the body empty if you want  -->
      <!-- to create a completely dynamic UI.        -->
      <!--                                           -->
      <body>
        <!-- OPTIONAL: include this if you want history support -->
        <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
    
      </body>
    </html>
    Any ideas?

  2. #2
    Ext User
    Join Date
    Oct 2008
    Posts
    33
    Vote Rating
    0
    taocore is on a distinguished road

      0  

    Default


    Using Firefox 3.0.6
    do View -> Page Style -> No Style
    I can see the ui with no style

    Anything wrong?

  3. #3
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Are you sure that the ext-all.css file really exists?

  4. #4
    Ext User
    Join Date
    Oct 2008
    Posts
    33
    Vote Rating
    0
    taocore is on a distinguished road

      0  

    Default


    yes, it is in the right place.
    and I'd tried to replace the output ext-all.css with the old version which unzip from gxt-1.1.1.jar, the page was still blank after refreshing.

  5. #5
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Does it also get loaded? If only the styling is missing than something is wrong with your css file.

  6. #6
    Ext User
    Join Date
    Oct 2008
    Posts
    33
    Vote Rating
    0
    taocore is on a distinguished road

      0  

    Default


    Do you mean the css file get loaded by browser?

    How can I check it?

    If so, How can I fix it?

  7. #7
    Ext User
    Join Date
    Oct 2008
    Posts
    33
    Vote Rating
    0
    taocore is on a distinguished road

      0  

    Default


    Solved.

    CenterLayout's implementation in 1.2 use div instead of table, make css error.

  8. #8
    Ext User
    Join Date
    Oct 2008
    Posts
    33
    Vote Rating
    0
    taocore is on a distinguished road

      0  

    Default


    Comment out the CenterLayout, it seems fine.

    But I don't understand why the demo works well with CenterLayout.

Thread Participants: 1