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>