Designer Edit File error on html parse

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Designer Edit File error on html parse

Postby dlukeparker » Mon Oct 02, 2006 8:58 am

Hi,

I am trying to use GWT Designer to edit some existing GWT code (project not created with Designer). When I try to use "Design" mode on the main module file, the process of opening the view gets an error and complains that (paraphrasing) can't use CCS in CatTree.html unless it is valid xhtml. Below is the contents of the offending html file. I have tried changing the doctype to xhtml1, but get the same error.

This seems to indicate that I am misunderstanding something pretty basic. Can anyone help me out? Give me a clue as to what I am allowed to have in my html?

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><html>
   <head>
   
      <!--                                           -->
      <!-- Any title is fine                         -->
      <!--                                           -->
      <title>Wrapper HTML for CatTree</title>


      <!--                                           -->
      <!-- The module reference below is the link    -->
      <!-- between html and your Web Toolkit module  -->      
      <!--                                           -->
      <meta name='gwt:module' content='com.perfretail.k2v1.gwtcode.CatTree.CatTree'/>
      
   </head>

   <!--                                           -->
   <!-- The body can have arbitrary html, or      -->
   <!-- you can leave the body empty if you want  -->
   <!-- to create a completely dynamic ui         -->
   <!--                                           -->
   <body>

      <!--                                            -->
      <!-- This script is required bootstrap stuff.   -->
      <!-- You can put it in the HEAD, but startup    -->
      <!-- is slightly faster if you include it here. -->
      <!--                                            -->
      <script language="javascript" src="gwt.js" type="text/javascript"></script>

      <!-- OPTIONAL: include this if you want history support -->
<!--      <iframe id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe> -->

      <h1>CatTree</h1>

      <table align=left>
         <tr>
            <td id="loginDisplay" valign="top"></td>
         </tr>
         <tr>
            <td valign="top">Sites:</td><td id="firstTable"></td>
         </tr>
      </table>
   </body>
</html>
dlukeparker
 
Posts: 1
Joined: Mon Oct 02, 2006 8:52 am

Postby Konstantin.Scheglov » Wed Oct 04, 2006 10:44 am

Try new build of GWT Designer. It has new HTML parser that can handle such non-XHTML files.
Konstantin.Scheglov
Moderator
 
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests