The html:
Code:
<!doctypehtml><!-- The DOCTYPE declaration above will set the -->
<!-- browser's rendering engine into -->
<!-- "Standards Mode". Replacing this declaration -->
<!-- with a "Quirks Mode" doctype may lead to some -->
<!-- differences in layout. -->
<html>
<head>
<metahttp-equiv="content-type"content="text/html; charset=UTF-8">
<linktype="text/css"rel="stylesheet"href="rssreader.css">
<linktype="text/css"rel="stylesheet"href="gxt/css/gxt-all.css">
<title>rssreader</title>
</head>
<body>
<!-- <noscript>
<div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
Your web browser must have JavaScript enabled
in order for this application to display correctly.
</div>
</noscript> -->
<divid="loading">
<divclass="loading-indicator">
<imgsrc="gxt/images/default/shared/large-loading.gif"
width="32" height="32"/>Even geduld a.u.b.<br />
<span id="loading-msg">Bezig met laden...</span>
</div>
</div>
<scripttype="text/javascript"src="rssreader/rssreader.nocache.js"></script>
</body>
</html>
The css rssreader.css:
.x-viewport
{
background-color: #ff0000;
}
The code rssreader.java:
Code:
public void onModuleLoad() {
Viewport viewport = new Viewport();
RootPanel.get().add(viewport);
}