source: Dev/branches/rest-dojo-ui/client/dijit/tests/test_CalendarLite.html @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 1.2 KB
Line 
1<!DOCTYPE html>
2<html>
3        <head>
4                <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5                <title>CalendarLite Widget Test</title>
6
7                <!-- for tests -->
8                <style type="text/css">
9                        @import "../themes/claro/document.css";
10                        @import "css/dijitTests.css";
11                </style>
12
13                <!-- required: a default dijit theme: -->
14                <link id="themeStyles" rel="stylesheet" href="../../dijit/themes/claro/claro.css"/>
15
16                <!-- required: dojo.js -->
17                <script type="text/javascript" src="../../dojo/dojo.js"
18                        data-dojo-config="isDebug: true"></script>
19
20                <!-- not needed, for testing alternate themes -->
21                <script type="text/javascript" src="_testCommon.js"></script>
22
23                <script type="text/javascript">
24                        dojo.require("dijit.CalendarLite");
25
26                        dojo.ready(function(){
27                                new dijit.CalendarLite({
28                                        onChange: function myHandler(id,newValue){
29                                                console.debug("onChange for id = " + id + ", value: " + newValue);
30                                        }
31                                }, dojo.byId("calendar1"));
32                        });
33                </script>
34        </head>
35        <body class="claro">
36
37                <h1 class="testTitle">Dijit CalendarLite Test</h1>
38
39                <input value="input before" id="before"/>
40                <input id="calendar1"/>
41                <input value="input after" id="after"/>
42        </body>
43</html>
Note: See TracBrowser for help on using the repository browser.