Revision: 49824
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 31, 2011 00:20 by laurenceosx
Initial Code
<!--
User: Laurence Toenjes
Date: 2011-07-30 10:16:30
file: header.inc.htm
This file goes above the WEB-INF folder.
This is a sample header include file to use Dojo with Vaadin.
The header.inc.htm file text gets injected by using a customized Vaadin app servlet.
See:
http://snipplr.com/view/57394/use-dojo-with-vaadin--inject-external-file-into-head-block-of-vaadin-page-response/
-->
<!-- header.inc.htm beg -->
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/resources/dojo.css" />
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/tundra/tundra.css" />
<style type="text/css">
/* put styles here */
</style>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js" type="text/javascript"
djConfig="parseOnLoad: false">
</script>
<script type="text/javascript" >
// dojo includes
dojo.require("dojo.parser");
dojo.require("dijit.form.Button");
</script>
<script type="text/javascript">
// <![CDATA[
dojo.ready( function() {
dojo.addClass( dojo.body() , "tundra");
dojo.parser.parse();
} );
// ]]>
</script>
<!-- header.inc.htm end -->
Initial URL
Initial Description
Initial Title
Sample Include File for: Use Dojo With Vaadin / Inject External File Into Head Block Of Vaadin Page Response
Initial Tags
Initial Language
HTML