From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dijit/tests/Container.html | 63 ++ includes/js/dijit/tests/Container.js | 9 + includes/js/dijit/tests/_Templated.html | 164 +++++ includes/js/dijit/tests/_Templated.js | 9 + includes/js/dijit/tests/_altCalendar.html | 36 + includes/js/dijit/tests/_base/manager.html | 322 +++++++++ includes/js/dijit/tests/_base/manager.js | 9 + .../js/dijit/tests/_base/test_FocusManager.html | 46 ++ .../js/dijit/tests/_base/test_focusWidget.html | 130 ++++ .../js/dijit/tests/_base/test_placeStrict.html | 400 +++++++++++ includes/js/dijit/tests/_base/test_typematic.html | 56 ++ includes/js/dijit/tests/_base/viewport.html | 79 +++ includes/js/dijit/tests/_base/viewport.js | 10 + includes/js/dijit/tests/_base/viewportStrict.html | 81 +++ includes/js/dijit/tests/_base/wai.html | 115 ++++ includes/js/dijit/tests/_base/wai.js | 9 + includes/js/dijit/tests/_data/categories.json | 12 + .../js/dijit/tests/_data/categoriesNested.json | 13 + includes/js/dijit/tests/_data/countries.json | 45 ++ includes/js/dijit/tests/_data/dijits.json | 1 + includes/js/dijit/tests/_data/states.json | 64 ++ includes/js/dijit/tests/_data/treeTest.json | 22 + includes/js/dijit/tests/_editor/test_6112.html | 745 +++++++++++++++++++++ .../js/dijit/tests/_editor/test_CustomPlugin.html | 151 +++++ includes/js/dijit/tests/_editor/test_RichText.html | 59 ++ .../js/dijit/tests/_editor/test_ToggleDir.html | 37 + includes/js/dijit/tests/_editor/test_richtext.css | 4 + .../tests/_editor/test_richtext.css.commented.css | 4 + includes/js/dijit/tests/_programaticTest.html | 109 +++ includes/js/dijit/tests/_testCommon.js | 103 +++ includes/js/dijit/tests/css/dijitTests.css | 69 ++ .../dijit/tests/css/dijitTests.css.commented.css | 78 +++ includes/js/dijit/tests/form/Form.html | 354 ++++++++++ includes/js/dijit/tests/form/Form.js | 9 + includes/js/dijit/tests/form/images/Alabama.jpg | Bin 0 -> 4585 bytes includes/js/dijit/tests/form/test_Button.html | 286 ++++++++ includes/js/dijit/tests/form/test_CheckBox.html | 127 ++++ includes/js/dijit/tests/form/test_ComboBox.html | 289 ++++++++ .../js/dijit/tests/form/test_ComboBox_destroy.html | 58 ++ includes/js/dijit/tests/form/test_DateTextBox.html | 156 +++++ .../js/dijit/tests/form/test_FilteringSelect.html | 296 ++++++++ .../js/dijit/tests/form/test_Form_onsubmit.html | 87 +++ includes/js/dijit/tests/form/test_MultiSelect.html | 138 ++++ .../js/dijit/tests/form/test_SimpleTextarea.html | 62 ++ includes/js/dijit/tests/form/test_Slider.html | 208 ++++++ includes/js/dijit/tests/form/test_Spinner.html | 92 +++ includes/js/dijit/tests/form/test_Textarea.html | 106 +++ includes/js/dijit/tests/form/test_TimeTextBox.html | 143 ++++ includes/js/dijit/tests/form/test_validate.html | 428 ++++++++++++ includes/js/dijit/tests/i18n/README | 4 + includes/js/dijit/tests/i18n/currency.html | 210 ++++++ includes/js/dijit/tests/i18n/date.html | 155 +++++ includes/js/dijit/tests/i18n/digit.html | 294 ++++++++ includes/js/dijit/tests/i18n/module.js | 18 + includes/js/dijit/tests/i18n/number.html | 136 ++++ includes/js/dijit/tests/i18n/test_i18n.js | 206 ++++++ includes/js/dijit/tests/i18n/textbox.html | 173 +++++ includes/js/dijit/tests/i18n/time.html | 207 ++++++ includes/js/dijit/tests/images/arrowSmall.gif | Bin 0 -> 54 bytes includes/js/dijit/tests/images/copy.gif | Bin 0 -> 210 bytes includes/js/dijit/tests/images/cut.gif | Bin 0 -> 112 bytes includes/js/dijit/tests/images/flatScreen.gif | Bin 0 -> 824 bytes includes/js/dijit/tests/images/note.gif | Bin 0 -> 617 bytes includes/js/dijit/tests/images/paste.gif | Bin 0 -> 241 bytes includes/js/dijit/tests/images/plus.gif | Bin 0 -> 151 bytes includes/js/dijit/tests/images/testsBodyBg.gif | Bin 0 -> 753 bytes includes/js/dijit/tests/images/tube.gif | Bin 0 -> 147 bytes includes/js/dijit/tests/images/tubeTall.gif | Bin 0 -> 256 bytes includes/js/dijit/tests/layout/ContentPane.html | 577 ++++++++++++++++ includes/js/dijit/tests/layout/ContentPane.js | 9 + includes/js/dijit/tests/layout/combotab.html | 11 + includes/js/dijit/tests/layout/doc0.html | 12 + includes/js/dijit/tests/layout/doc1.html | 13 + includes/js/dijit/tests/layout/doc2.html | 13 + includes/js/dijit/tests/layout/getResponse.php | 57 ++ includes/js/dijit/tests/layout/tab1.html | 6 + includes/js/dijit/tests/layout/tab2.html | 3 + includes/js/dijit/tests/layout/tab3.html | 39 ++ includes/js/dijit/tests/layout/tab4.html | 40 ++ .../tests/layout/test_AccordionContainer.html | 195 ++++++ .../dijit/tests/layout/test_BorderContainer.html | 163 +++++ .../tests/layout/test_BorderContainer_complex.html | 178 +++++ .../layout/test_BorderContainer_experimental.html | 253 +++++++ .../tests/layout/test_BorderContainer_full.html | 56 ++ .../tests/layout/test_BorderContainer_nested.html | 70 ++ .../js/dijit/tests/layout/test_ContentPane.html | 94 +++ .../js/dijit/tests/layout/test_LayoutCode.html | 383 +++++++++++ .../dijit/tests/layout/test_LayoutContainer.html | 174 +++++ .../js/dijit/tests/layout/test_SplitContainer.html | 116 ++++ .../js/dijit/tests/layout/test_StackContainer.html | 62 ++ .../tests/layout/test_StackContainer_code.html | 64 ++ .../js/dijit/tests/layout/test_TabContainer.html | 183 +++++ .../tests/layout/test_TabContainerTitlePane.html | 75 +++ .../tests/layout/test_TabContainer_noLayout.html | 104 +++ .../tests/layout/test_TabContainer_remote.html | 109 +++ includes/js/dijit/tests/manualTests.html | 12 + includes/js/dijit/tests/manualTests.js | 85 +++ includes/js/dijit/tests/module.js | 21 + includes/js/dijit/tests/ondijitclick.html | 95 +++ includes/js/dijit/tests/ondijitclick.js | 9 + includes/js/dijit/tests/runTests.html | 9 + includes/js/dijit/tests/test.html | 37 + includes/js/dijit/tests/test_Calendar.html | 81 +++ includes/js/dijit/tests/test_ColorPalette.html | 53 ++ includes/js/dijit/tests/test_Declaration.html | 66 ++ includes/js/dijit/tests/test_Dialog.html | 408 +++++++++++ .../js/dijit/tests/test_Dialog_focusDestroy.html | 61 ++ includes/js/dijit/tests/test_Editor.html | 153 +++++ includes/js/dijit/tests/test_InlineEditBox.html | 231 +++++++ includes/js/dijit/tests/test_Menu.html | 270 ++++++++ includes/js/dijit/tests/test_ProgressBar.html | 165 +++++ includes/js/dijit/tests/test_TitlePane.html | 126 ++++ includes/js/dijit/tests/test_Toolbar.html | 186 +++++ includes/js/dijit/tests/test_Tooltip.html | 117 ++++ includes/js/dijit/tests/test_TooltipDialog.html | 349 ++++++++++ includes/js/dijit/tests/test_Tree.html | 115 ++++ .../tests/test_Tree_Notification_API_Support.html | 287 ++++++++ includes/js/dijit/tests/test_instantiate.html | 111 +++ includes/js/dijit/tests/tree/test_Tree_DnD.html | 194 ++++++ .../dijit/tests/tree/test_Tree_Programmatic.html | 40 ++ includes/js/dijit/tests/tree/test_Tree_v1.html | 111 +++ includes/js/dijit/tests/widgetsInTemplate.html | 112 ++++ includes/js/dijit/tests/widgetsInTemplate.js | 9 + 123 files changed, 13868 insertions(+) create mode 100644 includes/js/dijit/tests/Container.html create mode 100644 includes/js/dijit/tests/Container.js create mode 100644 includes/js/dijit/tests/_Templated.html create mode 100644 includes/js/dijit/tests/_Templated.js create mode 100644 includes/js/dijit/tests/_altCalendar.html create mode 100644 includes/js/dijit/tests/_base/manager.html create mode 100644 includes/js/dijit/tests/_base/manager.js create mode 100644 includes/js/dijit/tests/_base/test_FocusManager.html create mode 100644 includes/js/dijit/tests/_base/test_focusWidget.html create mode 100644 includes/js/dijit/tests/_base/test_placeStrict.html create mode 100644 includes/js/dijit/tests/_base/test_typematic.html create mode 100644 includes/js/dijit/tests/_base/viewport.html create mode 100644 includes/js/dijit/tests/_base/viewport.js create mode 100644 includes/js/dijit/tests/_base/viewportStrict.html create mode 100644 includes/js/dijit/tests/_base/wai.html create mode 100644 includes/js/dijit/tests/_base/wai.js create mode 100644 includes/js/dijit/tests/_data/categories.json create mode 100644 includes/js/dijit/tests/_data/categoriesNested.json create mode 100644 includes/js/dijit/tests/_data/countries.json create mode 100644 includes/js/dijit/tests/_data/dijits.json create mode 100644 includes/js/dijit/tests/_data/states.json create mode 100644 includes/js/dijit/tests/_data/treeTest.json create mode 100644 includes/js/dijit/tests/_editor/test_6112.html create mode 100644 includes/js/dijit/tests/_editor/test_CustomPlugin.html create mode 100644 includes/js/dijit/tests/_editor/test_RichText.html create mode 100644 includes/js/dijit/tests/_editor/test_ToggleDir.html create mode 100644 includes/js/dijit/tests/_editor/test_richtext.css create mode 100644 includes/js/dijit/tests/_editor/test_richtext.css.commented.css create mode 100644 includes/js/dijit/tests/_programaticTest.html create mode 100644 includes/js/dijit/tests/_testCommon.js create mode 100644 includes/js/dijit/tests/css/dijitTests.css create mode 100644 includes/js/dijit/tests/css/dijitTests.css.commented.css create mode 100644 includes/js/dijit/tests/form/Form.html create mode 100644 includes/js/dijit/tests/form/Form.js create mode 100644 includes/js/dijit/tests/form/images/Alabama.jpg create mode 100644 includes/js/dijit/tests/form/test_Button.html create mode 100644 includes/js/dijit/tests/form/test_CheckBox.html create mode 100644 includes/js/dijit/tests/form/test_ComboBox.html create mode 100644 includes/js/dijit/tests/form/test_ComboBox_destroy.html create mode 100644 includes/js/dijit/tests/form/test_DateTextBox.html create mode 100644 includes/js/dijit/tests/form/test_FilteringSelect.html create mode 100644 includes/js/dijit/tests/form/test_Form_onsubmit.html create mode 100644 includes/js/dijit/tests/form/test_MultiSelect.html create mode 100644 includes/js/dijit/tests/form/test_SimpleTextarea.html create mode 100644 includes/js/dijit/tests/form/test_Slider.html create mode 100644 includes/js/dijit/tests/form/test_Spinner.html create mode 100644 includes/js/dijit/tests/form/test_Textarea.html create mode 100644 includes/js/dijit/tests/form/test_TimeTextBox.html create mode 100644 includes/js/dijit/tests/form/test_validate.html create mode 100644 includes/js/dijit/tests/i18n/README create mode 100644 includes/js/dijit/tests/i18n/currency.html create mode 100644 includes/js/dijit/tests/i18n/date.html create mode 100644 includes/js/dijit/tests/i18n/digit.html create mode 100644 includes/js/dijit/tests/i18n/module.js create mode 100644 includes/js/dijit/tests/i18n/number.html create mode 100644 includes/js/dijit/tests/i18n/test_i18n.js create mode 100644 includes/js/dijit/tests/i18n/textbox.html create mode 100644 includes/js/dijit/tests/i18n/time.html create mode 100644 includes/js/dijit/tests/images/arrowSmall.gif create mode 100644 includes/js/dijit/tests/images/copy.gif create mode 100644 includes/js/dijit/tests/images/cut.gif create mode 100644 includes/js/dijit/tests/images/flatScreen.gif create mode 100644 includes/js/dijit/tests/images/note.gif create mode 100644 includes/js/dijit/tests/images/paste.gif create mode 100644 includes/js/dijit/tests/images/plus.gif create mode 100644 includes/js/dijit/tests/images/testsBodyBg.gif create mode 100644 includes/js/dijit/tests/images/tube.gif create mode 100644 includes/js/dijit/tests/images/tubeTall.gif create mode 100644 includes/js/dijit/tests/layout/ContentPane.html create mode 100644 includes/js/dijit/tests/layout/ContentPane.js create mode 100644 includes/js/dijit/tests/layout/combotab.html create mode 100644 includes/js/dijit/tests/layout/doc0.html create mode 100644 includes/js/dijit/tests/layout/doc1.html create mode 100644 includes/js/dijit/tests/layout/doc2.html create mode 100644 includes/js/dijit/tests/layout/getResponse.php create mode 100644 includes/js/dijit/tests/layout/tab1.html create mode 100644 includes/js/dijit/tests/layout/tab2.html create mode 100644 includes/js/dijit/tests/layout/tab3.html create mode 100644 includes/js/dijit/tests/layout/tab4.html create mode 100644 includes/js/dijit/tests/layout/test_AccordionContainer.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_complex.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_experimental.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_full.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_nested.html create mode 100644 includes/js/dijit/tests/layout/test_ContentPane.html create mode 100644 includes/js/dijit/tests/layout/test_LayoutCode.html create mode 100644 includes/js/dijit/tests/layout/test_LayoutContainer.html create mode 100644 includes/js/dijit/tests/layout/test_SplitContainer.html create mode 100644 includes/js/dijit/tests/layout/test_StackContainer.html create mode 100644 includes/js/dijit/tests/layout/test_StackContainer_code.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainer.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainerTitlePane.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainer_noLayout.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainer_remote.html create mode 100644 includes/js/dijit/tests/manualTests.html create mode 100644 includes/js/dijit/tests/manualTests.js create mode 100644 includes/js/dijit/tests/module.js create mode 100644 includes/js/dijit/tests/ondijitclick.html create mode 100644 includes/js/dijit/tests/ondijitclick.js create mode 100644 includes/js/dijit/tests/runTests.html create mode 100644 includes/js/dijit/tests/test.html create mode 100644 includes/js/dijit/tests/test_Calendar.html create mode 100644 includes/js/dijit/tests/test_ColorPalette.html create mode 100644 includes/js/dijit/tests/test_Declaration.html create mode 100644 includes/js/dijit/tests/test_Dialog.html create mode 100644 includes/js/dijit/tests/test_Dialog_focusDestroy.html create mode 100644 includes/js/dijit/tests/test_Editor.html create mode 100644 includes/js/dijit/tests/test_InlineEditBox.html create mode 100644 includes/js/dijit/tests/test_Menu.html create mode 100644 includes/js/dijit/tests/test_ProgressBar.html create mode 100644 includes/js/dijit/tests/test_TitlePane.html create mode 100644 includes/js/dijit/tests/test_Toolbar.html create mode 100644 includes/js/dijit/tests/test_Tooltip.html create mode 100644 includes/js/dijit/tests/test_TooltipDialog.html create mode 100644 includes/js/dijit/tests/test_Tree.html create mode 100644 includes/js/dijit/tests/test_Tree_Notification_API_Support.html create mode 100644 includes/js/dijit/tests/test_instantiate.html create mode 100644 includes/js/dijit/tests/tree/test_Tree_DnD.html create mode 100644 includes/js/dijit/tests/tree/test_Tree_Programmatic.html create mode 100644 includes/js/dijit/tests/tree/test_Tree_v1.html create mode 100644 includes/js/dijit/tests/widgetsInTemplate.html create mode 100644 includes/js/dijit/tests/widgetsInTemplate.js (limited to 'includes/js/dijit/tests') diff --git a/includes/js/dijit/tests/Container.html b/includes/js/dijit/tests/Container.html new file mode 100644 index 0000000..64dd5d4 --- /dev/null +++ b/includes/js/dijit/tests/Container.html @@ -0,0 +1,63 @@ + + +
+ +
+ -
+
+ ▪
+
+ +
+ |
+ + + + | +|||||
---|---|---|---|---|---|---|
+ | ||||||
+ | ||||||
+ + + «» + ++ |
+
This is for testing whether focus and selection are restored by the focus manager
+ + + + + + + diff --git a/includes/js/dijit/tests/_base/test_focusWidget.html b/includes/js/dijit/tests/_base/test_focusWidget.html new file mode 100644 index 0000000..edc01c1 --- /dev/null +++ b/includes/js/dijit/tests/_base/test_focusWidget.html @@ -0,0 +1,130 @@ + + + +
+ This is for testing code to detect onBlur and onFocus on a widget level.
+ Focused widgets' borders will turn red.
+ Also, heck the console log for focus and blur events on widgets.
+
Currently this just tests getViewport(). Change the size of your browser window and then reload,
+ and see if it reports the browser window size correctly.
+
All the text below is just filler text...
+
+
,
This is some text<\/p>\n...\n<\/div>","description":null,"examples":null},{"namespace":"dijit","className":"dijit.layout.AccordionPane","summary":"AccordionPane is a ContentPane with a title that may contain another widget.\nNested layout widgets, such as SplitContainer, are not supported at this time.","description":null,"examples":null},{"namespace":"dijit","className":"dijit.layout.ContentPane","summary":"A widget that acts as a Container for other widgets, and includes a ajax interface","description":"A widget that can be used as a standalone widget\nor as a baseclass for other widgets\nHandles replacement of document fragment using either external uri or javascript\ngenerated markup or DOM content, instantiating widgets within that content.\nDon't confuse it with an iframe, it only needs\/wants document fragments.\nIt's useful as a child of LayoutContainer, SplitContainer, or TabContainer.\nBut note that those classes can contain any widget as a child.\nexample:\nSome quick samples:\nTo change the innerHTML use .setContent('new content<\/b>')\n\nOr you can send it a NodeList, .setContent(dojo.query('div [class=selected]', userSelection))\nplease note that the nodes in NodeList will copied, not moved\n\nTo do a ajax update use .setHref('url')","examples":null},{"namespace":"dijit","className":"dijit.layout.LayoutContainer","summary":"Provides Delphi-style panel layout semantics.\n\ndetails\nA LayoutContainer is a box with a specified size (like style=\"width: 500px; height: 500px;\"),\nthat contains children widgets marked with \"layoutAlign\" of \"left\", \"right\", \"bottom\", \"top\", and \"client\".\nIt takes it's children marked as left\/top\/bottom\/right, and lays them out along the edges of the box,\nand then it takes the child marked \"client\" and puts it into the remaining space in the middle.\n\nLeft\/right positioning is similar to CSS's \"float: left\" and \"float: right\",\nand top\/bottom positioning would be similar to \"float: top\" and \"float: bottom\", if there were such\nCSS.\n\nNote that there can only be one client element, but there can be multiple left, right, top,\nor bottom elements.\n\nusage\n
+
+
+
+
+
+
+
+
+
+
+ Rich Text Test
+
+ test case for bug #6112
+
+