diff --git a/lib/plugins/plugin.inc.php b/lib/plugins/plugin.inc.php index a8fb776..c504e66 100644 --- a/lib/plugins/plugin.inc.php +++ b/lib/plugins/plugin.inc.php @@ -652,6 +652,13 @@ class KTPlugin { function run_setup() { return true; } + + function setAvailability($sNamespace, $bAvailable = true){ + $aValues = array('unavailable' => $bAvailable); + $aWhere = array('namespace' => $sNamespace); + $res = DBUtil::whereUpdate('plugins', $aValues, $aWhere); + return $res; + } function stripKtDir($sFilename) { if (strpos($sFilename, KT_DIR) === 0 ||strpos($sFilename, realpath(KT_DIR)) === 0) { @@ -762,3 +769,4 @@ class KTPlugin { } } +?> \ No newline at end of file diff --git a/lib/plugins/pluginutil.inc.php b/lib/plugins/pluginutil.inc.php index a052ca1..0660892 100644 --- a/lib/plugins/pluginutil.inc.php +++ b/lib/plugins/pluginutil.inc.php @@ -218,7 +218,7 @@ class KTPluginUtil { // Allow for templates that don't correctly link to the plugin $query = "SELECT * FROM plugin_helper h LEFT JOIN plugins p ON (p.namespace = h.plugin) - WHERE h.classtype='locations' AND (disabled = 0 OR disabled IS NULL)"; + WHERE h.classtype='locations' AND (disabled = 0 OR disabled IS NULL) AND unavailable = 0"; $aLocations = DBUtil::getResultArray($query); diff --git a/plugins/ktstandard/KTDocumentLinks.php b/plugins/ktstandard/KTDocumentLinks.php index b92f7c6..6486475 100644 --- a/plugins/ktstandard/KTDocumentLinks.php +++ b/plugins/ktstandard/KTDocumentLinks.php @@ -288,6 +288,18 @@ class KTDocumentLinkAction extends KTDocumentAction { // select a type for the link function do_type_select() { + + //Checking to see if the document is being linked to itself and returning an error if it is. + $iTempParentDocId = $_REQUEST['fDocumentId']; + $aTempDocuments = $_REQUEST['linkselection']; + foreach ($aTempDocuments as $iTempDocId) + { + if($iTempParentDocId == $iTempDocId) + { + $this->errorRedirectToMain(_kt('A document cannot be linked to itself.')); + } + } + $this->oPage->setBreadcrumbDetails(_kt("link")); $sType = (isset($_REQUEST['linktype'])) ? $_REQUEST['linktype'] : 'internal'; diff --git a/plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php b/plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php index 5631f68..f13f4f2 100644 --- a/plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php +++ b/plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php @@ -504,11 +504,15 @@ class KTLDAPBaseAuthenticationProvider extends KTAuthenticationProvider { $fields = array(); $fields[] = new KTStringWidget(_kt("Group's name"), _kt("The group's name, or part thereof, to find the group that you wish to add"), 'name', '', $this->oPage, true); - $oAuthenticator = $this->getAuthenticator($oSource); $name = KTUtil::arrayGet($_REQUEST, 'name'); if (!empty($name)) { $oAuthenticator = $this->getAuthenticator($oSource); $aSearchResults = $oAuthenticator->searchGroups($name); + + if(PEAR::isError($aSearchResults)){ + $this->addErrorMessage($aSearchResults->getMessage()); + $aSearchResults = array(); + } } $aTemplateData = array( @@ -973,6 +977,11 @@ class KTLDAPBaseAuthenticator extends Authenticator { } $sFilter = sprintf('(&(objectClass=group)(cn=*%s*))', $sSearch); $oResults = $this->oLdap->search($rootDn, $sFilter, $aParams); + + if(PEAR::isError($oResults)){ + return $oResults; + } + $aRet = array(); foreach($oResults->entries() as $oEntry) { $aAttr = $oEntry->attributes(); diff --git a/thirdpartyjs/extjs/examples/README.txt b/thirdpartyjs/extjs/examples/README.txt new file mode 100644 index 0000000..deffb63 --- /dev/null +++ b/thirdpartyjs/extjs/examples/README.txt @@ -0,0 +1,3 @@ +The examples can be browsed by opening index.html in the docs folder. + +Some examples use XHR. Those examples will need to be on a webserver to run since XHR can't access the local file system. \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/debug/debug-console.html b/thirdpartyjs/extjs/examples/debug/debug-console.html new file mode 100644 index 0000000..91377e8 --- /dev/null +++ b/thirdpartyjs/extjs/examples/debug/debug-console.html @@ -0,0 +1,42 @@ + + + + +Ext Debug Console + + + + + + + + + + + +

Ext Debug Console

+
+

Included in ext-all-debug.js is the Ext Debug Console. It offers a limited amount of FireBug + functionality cross browser. The most important feature is the "DOM Inspector" and CSS and DOM attribute editing. In any browser where "console" + is not already defined, the Ext console will handle console.log(), time() and other calls. +

+

+ Try It
+ This page includes ext-all-debug.js and some test markup so you can try it out. Hit control+shift+home to bring up the console or click on the image below. +

+ + +

+ The full source is available in the "source" directory of the Ext download. +

+
+

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

+

Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

+

Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

+

Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras imperdiet felis id velit. Ut non quam at sem dictum ullamcorper. Vestibulum pharetra purus sed pede. Aliquam ultrices, nunc in varius mattis, felis justo pretium magna, eget laoreet justo eros id eros. Aliquam elementum diam fringilla nulla. Praesent laoreet sapien vel metus. Cras tempus, sapien condimentum dictum dapibus, lorem augue fringilla orci, ut tincidunt eros nisi eget turpis. Nullam nunc nunc, eleifend et, dictum et, pharetra a, neque. Ut feugiat. Aliquam erat volutpat. Donec pretium odio nec felis. Phasellus sagittis lacus eget sapien. Donec est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

+

Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

+

Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

+

Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

+

Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

+
+ diff --git a/thirdpartyjs/extjs/examples/debug/inspector.gif b/thirdpartyjs/extjs/examples/debug/inspector.gif new file mode 100644 index 0000000..d02e467 --- /dev/null +++ b/thirdpartyjs/extjs/examples/debug/inspector.gif diff --git a/thirdpartyjs/extjs/examples/dialog/blog.html b/thirdpartyjs/extjs/examples/dialog/blog.html new file mode 100644 index 0000000..17914d8 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/blog.html @@ -0,0 +1,81 @@ + + + + +Comment Dialog Example + + + + + + + + + + + + +
+

Comment Dialog Example

+
+ +
+

This is a more complex example that shows how to implement a comment dialog similar to the one on my blog. + The dialog retrieves the comments in JSON format and renders them to the "View Comments" tab. The "Post Comment" tab posts the comment + to a file on the server that just returns a dummy response (not what you type in) in JSON format. The reason for the dummy response + is so the example can easily be dropped in whatever your environment is and work.

+

Note that the js is not minified so it is readable. See post.js for the full source code.

+

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

+

Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

+

Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

+

Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras imperdiet felis id velit. Ut non quam at sem dictum ullamcorper. Vestibulum pharetra purus sed pede. Aliquam ultrices, nunc in varius mattis, felis justo pretium magna, eget laoreet justo eros id eros. Aliquam elementum diam fringilla nulla. Praesent laoreet sapien vel metus. Cras tempus, sapien condimentum dictum dapibus, lorem augue fringilla orci, ut tincidunt eros nisi eget turpis. Nullam nunc nunc, eleifend et, dictum et, pharetra a, neque. Ut feugiat. Aliquam erat volutpat. Donec pretium odio nec felis. Phasellus sagittis lacus eget sapien. Donec est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

+

Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

+

Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

+

Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

+

Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

+
+ + + + + diff --git a/thirdpartyjs/extjs/examples/dialog/comments.txt b/thirdpartyjs/extjs/examples/dialog/comments.txt new file mode 100644 index 0000000..a758d94 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/comments.txt @@ -0,0 +1,44 @@ +{"comments": [{ + id: "1", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + },{ + id: "2", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + },{ + id: "3", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + },{ + id: "4", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + },{ + id: "5", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + },{ + id: "6", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + },{ + id: "7", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + } +]} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/dialog/hello.html b/thirdpartyjs/extjs/examples/dialog/hello.html new file mode 100644 index 0000000..3ae5bfc --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/hello.html @@ -0,0 +1,64 @@ + + + + +Hello World Dialog Example + + + + + + + + + + + + + + + + + +

Hello World Dialog

+

This example shows how to create a very simple modal BasicDialog with "autoTabs".

+

+

Note that the js is not minified so it is readable. See hellos.js for the full source code.

+Here's snapshot of the code that creates the dialog: +
dialog = new Ext.BasicDialog("hello-dlg", {
+        modal:true,
+        autoTabs:true,
+        width:500,
+        height:300,
+        shadow:true,
+        minWidth:300,
+        minHeight:300
+});
+dialog.addKeyListener(27, dialog.hide, dialog);
+dialog.addButton('Close', dialog.hide, dialog);
+dialog.addButton('Submit', dialog.hide, dialog).disable();
+
+ + + + + + diff --git a/thirdpartyjs/extjs/examples/dialog/hello.js b/thirdpartyjs/extjs/examples/dialog/hello.js new file mode 100644 index 0000000..4c809c7 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/hello.js @@ -0,0 +1,46 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +// create the HelloWorld application (single instance) +var HelloWorld = function(){ + // everything in this space is private and only accessible in the HelloWorld block + + // define some private variables + var dialog, showBtn; + + // return a public interface + return { + init : function(){ + showBtn = Ext.get('show-dialog-btn'); + // attach to click event + showBtn.on('click', this.showDialog, this); + }, + + showDialog : function(){ + if(!dialog){ // lazy initialize the dialog and only create it once + dialog = new Ext.BasicDialog("hello-dlg", { + autoTabs:true, + width:500, + height:300, + shadow:true, + minWidth:300, + minHeight:250, + proxyDrag: true + }); + dialog.addKeyListener(27, dialog.hide, dialog); + dialog.addButton('Submit', dialog.hide, dialog).disable(); + dialog.addButton('Close', dialog.hide, dialog); + } + dialog.show(showBtn.dom); + } + }; +}(); + +// using onDocumentReady instead of window.onload initializes the application +// when the DOM is ready, without waiting for images and other resources to load +Ext.onReady(HelloWorld.init, HelloWorld, true); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/dialog/images/comment-bg.gif b/thirdpartyjs/extjs/examples/dialog/images/comment-bg.gif new file mode 100644 index 0000000..b1b0416 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/images/comment-bg.gif diff --git a/thirdpartyjs/extjs/examples/dialog/images/comment.gif b/thirdpartyjs/extjs/examples/dialog/images/comment.gif new file mode 100644 index 0000000..0c83f6a --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/images/comment.gif diff --git a/thirdpartyjs/extjs/examples/dialog/images/warning.gif b/thirdpartyjs/extjs/examples/dialog/images/warning.gif new file mode 100644 index 0000000..806d4bc --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/images/warning.gif diff --git a/thirdpartyjs/extjs/examples/dialog/layout.html b/thirdpartyjs/extjs/examples/dialog/layout.html new file mode 100644 index 0000000..b0b52b3 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/layout.html @@ -0,0 +1,39 @@ + + + + +Layout Dialog Example + + + + + + + + + + + + +

Layout Dialog Example

+

This example shows how to create a modal dialog with an embedded BorderLayout using LayoutDialog.

+

+

Note that the js is not minified so it is readable. See layout.js for the full source code.

+ + + + + diff --git a/thirdpartyjs/extjs/examples/dialog/layout.js b/thirdpartyjs/extjs/examples/dialog/layout.js new file mode 100644 index 0000000..f6637d6 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/layout.js @@ -0,0 +1,77 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + + +// create the LayoutExample application (single instance) +var LayoutExample = function(){ + // everything in this space is private and only accessible in the HelloWorld block + + // define some private variables + var dialog, showBtn; + + var toggleTheme = function(){ + Ext.get(document.body, true).toggleClass('xtheme-gray'); + }; + // return a public interface + return { + init : function(){ + showBtn = Ext.get('show-dialog-btn'); + // attach to click event + showBtn.on('click', this.showDialog, this); + + }, + + showDialog : function(){ + if(!dialog){ // lazy initialize the dialog and only create it once + dialog = new Ext.LayoutDialog("hello-dlg", { + modal:true, + width:600, + height:400, + shadow:true, + minWidth:300, + minHeight:300, + proxyDrag: true, + west: { + split:true, + initialSize: 150, + minSize: 100, + maxSize: 250, + titlebar: true, + collapsible: true, + animate: true + }, + center: { + autoScroll:true, + tabPosition: 'top', + closeOnTab: true, + alwaysShowTabs: true + } + }); + dialog.addKeyListener(27, dialog.hide, dialog); + dialog.addButton('Submit', dialog.hide, dialog); + dialog.addButton('Close', dialog.hide, dialog); + + var layout = dialog.getLayout(); + layout.beginUpdate(); + layout.add('west', new Ext.ContentPanel('west', {title: 'West'})); + layout.add('center', new Ext.ContentPanel('center', {title: 'The First Tab'})); + // generate some other tabs + layout.add('center', new Ext.ContentPanel(Ext.id(), { + autoCreate:true, title: 'Another Tab', background:true})); + layout.add('center', new Ext.ContentPanel(Ext.id(), { + autoCreate:true, title: 'Third Tab', closable:true, background:true})); + layout.endUpdate(); + } + dialog.show(showBtn.dom); + } + }; +}(); + +// using onDocumentReady instead of window.onload initializes the application +// when the DOM is ready, without waiting for images and other resources to load +Ext.EventManager.onDocumentReady(LayoutExample.init, LayoutExample, true); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/dialog/msg-box.html b/thirdpartyjs/extjs/examples/dialog/msg-box.html new file mode 100644 index 0000000..9a05983 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/msg-box.html @@ -0,0 +1,57 @@ + + + +MessageBox + + + + + + + + + + + + +

MessageBox Dialogs

+

The example shows how to use the MessageBox class. Some of the buttons have animations, some are normal.

+

The js is not minified so it is readable. See msg-box.js.

+ +

+ Confirm
+ Standard Yes/No dialog. + +

+ +

+ Prompt
+ Standard prompt dialog. + +

+ +

+ Multi-line Prompt
+ A multi-line prompt dialog. + +

+ +

+ Yes/No/Cancel
+ Standard Yes/No/Cancel dialog. + +

+ +

+ Progress Dialog
+ You can set a progress on a progress MessageBox. + +

+ +

+ Alert
+ Standard alert message dialog. + +

+ + diff --git a/thirdpartyjs/extjs/examples/dialog/msg-box.js b/thirdpartyjs/extjs/examples/dialog/msg-box.js new file mode 100644 index 0000000..78fbebf --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/msg-box.js @@ -0,0 +1,77 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + Ext.get('mb1').on('click', function(e){ + Ext.MessageBox.confirm('Confirm', 'Are you sure you want to do that?', showResult); + }); + + Ext.get('mb2').on('click', function(e){ + Ext.MessageBox.prompt('Name', 'Please enter your name:', showResultText); + }); + + Ext.get('mb3').on('click', function(e){ + Ext.MessageBox.show({ + title: 'Address', + msg: 'Please enter your address:', + width:300, + buttons: Ext.MessageBox.OKCANCEL, + multiline: true, + fn: showResultText, + animEl: 'mb3' + }); + }); + + Ext.get('mb4').on('click', function(e){ + Ext.MessageBox.show({ + title:'Save Changes?', + msg: 'Your are closing a tab that has unsaved changes. Would you like to save your changes?', + buttons: Ext.MessageBox.YESNOCANCEL, + fn: showResult, + animEl: 'mb4' + }); + }); + + Ext.get('mb6').on('click', function(){ + Ext.MessageBox.show({ + title: 'Please wait...', + msg: 'Initializing...', + width:240, + progress:true, + closable:false, + animEl: 'mb6' + }); + + // this hideous block creates the bogus progress + var f = function(v){ + return function(){ + if(v == 11){ + Ext.MessageBox.hide(); + }else{ + Ext.MessageBox.updateProgress(v/10, 'Loading item ' + v + ' of 10...'); + } + }; + }; + for(var i = 1; i < 12; i++){ + setTimeout(f(i), i*1000); + } + }); + + Ext.get('mb7').on('click', function(){ + Ext.MessageBox.alert('Status', 'Changes saved successfully.', showResult); + }); + + + function showResult(btn){ + Ext.example.msg('Button Click', 'You clicked the {0} button', btn); + }; + + function showResultText(btn, text){ + Ext.example.msg('Button Click', 'You clicked the {0} button and entered the text "{1}".', btn, text); + }; +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/dialog/post.css b/thirdpartyjs/extjs/examples/dialog/post.css new file mode 100644 index 0000000..9a88b32 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/post.css @@ -0,0 +1,132 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +body{ + font: normal 9pt verdana,tahoma,arial,helvetica; +} +.post{ + padding:15px; +} +.post h2{ + font:normal 22px times; + margin-bottom:10px; +} +.post p{ + margin-bottom:10px; + line-height:18px; +} + +.loading-indicator { + font-size:8pt; + background-image: url('../../images/grid/loading.gif'); + background-repeat: no-repeat; + background-position: left; + padding-left:20px; + margin:5px; +} + +/** Posting messages */ +.x-dlg-ft{ + position:relative; +} + +#dlg-msg { + position:absolute; + left:0px; + top:0px; + width:40%; +} +.posting-msg{ + display:none; + font:normal 8pt tahoma, arial; + color:black; +} +#post-error-msg{ + color:red; +} +.active-msg{ + display:block; +} + +/** Comment Box (with links) */ +#comment-box{ + float:right; + clear:none; + border:2px solid #aca899; + background-color:#f3f2e7; + padding:10px; + margin:15px; +} +#comment-box li{ + margin:4px; +} +#comment-box a{ + text-decoration:none; +} +#comments-list{ + margin:0px; + padding:0px; +} +/** Comment Post Form */ +#post-tab .inner-tab{ + margin:10px; + margin-top:5px; +} +#comment-form label { + margin:4px; + margin-left:0px; + display:block; + color:#333333; + font:normal 10px arial,helvetica; + line-height:14px; +} +#comment-form .textinput{ + border:1px solid #6593cf; + width:98%; + padding:1px; + margin-bottom:2px; + font:normal 11px tahoma, arial; +} +#comment { + width:480px; + height:205px; + font:normal 11px tahoma, arial; +} + +/** Comment List */ +.commentmetadata { + margin: 0; + display: block; + font-size: 9px; + font-weight:normal; + color:gray; + margin-bottom:10px; + float:right; + clear:none; +} +.cuser{ + float:left; + clear:none; + font:bold 12px tahoma, arial; + padding-left:21px; + background: url(images/comment.gif) no-repeat; +} +.cuser a{ + font:bold 12px tahoma, arial; +} +.cheader{ + height:20px; +} +#comments-list li { + display:block; + background: url(images/comment-bg.gif) repeat-x; + background-position:0px -5px; + padding:15px; + padding-bottom:18px; + font-size:12px; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/dialog/post.js b/thirdpartyjs/extjs/examples/dialog/post.js new file mode 100644 index 0000000..e25c028 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/post.js @@ -0,0 +1,162 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +var Comments = function(){ + var dialog, postLink, viewLink, txtComment; + var tabs, commentsList, postBtn, renderer; + var wait, error, errorMsg; + var posting = false; + + return { + init : function(){ + // cache some elements for quick access + txtComment = Ext.get('comment'); + commentsList = Ext.get('comments-list'); + postLink = Ext.get('post-comment'); + viewLink = Ext.get('view-comments'); + wait = Ext.get('post-wait'); + error = Ext.get('post-error'); + errorMsg = Ext.get('post-error-msg'); + + this.createDialog(); + + postLink.on('click', function(e){ + e.stopEvent(); + tabs.activate('post-tab'); + dialog.show(postLink); + }); + + viewLink.on('click', function(e){ + e.stopEvent(); + tabs.activate('view-tab'); + dialog.show(viewLink); + }); + }, + + // submit the comment to the server + submitComment : function(){ + postBtn.disable(); + wait.radioClass('active-msg'); + + var commentSuccess = function(o){ + postBtn.enable(); + var data = renderer.parse(o.responseText); + // if we got a comment back + if(data){ + wait.removeClass('active-msg'); + renderer.append(data.comments[0]); + dialog.hide(); + }else{ + error.radioClass('active-msg'); + errorMsg.update(o.responseText); + } + }; + + var commentFailure = function(o){ + postBtn.enable(); + error.radioClass('active-msg'); + errorMsg.update('Unable to connect.'); + }; + + Ext.lib.Ajax.formRequest('comment-form', 'post.php', + {success: commentSuccess, failure: commentFailure}); + }, + + createDialog : function(){ + dialog = new Ext.BasicDialog("comments-dlg", { + autoTabs:true, + width:500, + height:300, + shadow:true, + minWidth:300, + minHeight:300 + }); + dialog.addKeyListener(27, dialog.hide, dialog); + postBtn = dialog.addButton('Post', this.submitComment, this); + dialog.addButton('Close', dialog.hide, dialog); + + + // clear any messages and indicators when the dialog is closed + dialog.on('hide', function(){ + wait.removeClass('active-msg'); + error.removeClass('active-msg'); + txtComment.dom.value = ''; + }); + + // stoe a refeence to the tabs + tabs = dialog.getTabs(); + + // auto fit the comment box to the dialog size + var sizeTextBox = function(){ + txtComment.setSize(dialog.size.width-44, dialog.size.height-264); + }; + sizeTextBox(); + dialog.on('resize', sizeTextBox); + + // hide the post button if not on Post tab + tabs.on('tabchange', function(panel, tab){ + postBtn.setVisible(tab.id == 'post-tab'); + }); + + // set up the comment renderer, all ajax requests for commentsList + // go through this render + renderer = new CommentRenderer(commentsList); + var um = commentsList.getUpdateManager(); + um.setRenderer(renderer); + + // lazy load the comments when the view tab is activated + var commentsLoaded = false; + tabs.getTab('view-tab').on('activate', function(){ + if(!commentsLoaded){ + um.update('comments.txt'); + commentsLoaded = true; + } + }); + } + }; +}(); + +// This class handles rendering JSON into comments +var CommentRenderer = function(list){ + // create a template for each JSON object + var tpl = new Ext.DomHelper.Template( + '
  • ' + + '
    ' + + '
    {author}:
    ' + + '' + + '
    {text}
  • ' + ); + + this.parse = function(json){ + try{ + return eval('(' + json + ')'); + }catch(e){} + return null; + }; + + // public render function for use with UpdateManager + this.render = function(el, response){ + var data = this.parse(response.responseText); + if(!data || !data.comments || data.comments.length < 1){ + el.update('There are no comments for this post.'); + return; + } + // clear loading + el.update(''); + for(var i = 0, len = data.comments.length; i < len; i++){ + this.append(data.comments[i]); + } + }; + + // appends a comment + this.append = function(data){ + tpl.append(list.dom, data); + }; +}; + +Ext.EventManager.onDocumentReady(Comments.init, Comments, true); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/dialog/post.php b/thirdpartyjs/extjs/examples/dialog/post.php new file mode 100644 index 0000000..7d8a5e2 --- /dev/null +++ b/thirdpartyjs/extjs/examples/dialog/post.php @@ -0,0 +1,10 @@ +{"comments": [{ + id: "10", + author: "Jack Slocum", + link: "http://www.jackslocum.com/", + date: "October 29th, 2006 9:21pm", + text: "New posted comment. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa." + } +]} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/examples.css b/thirdpartyjs/extjs/examples/examples.css new file mode 100644 index 0000000..e612636 --- /dev/null +++ b/thirdpartyjs/extjs/examples/examples.css @@ -0,0 +1,54 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +body { + font-family:verdana,tahoma,helvetica; + padding:20px; + padding-top:32px; + font-size:13px; + background-color:#fff !important; +} +p { + margin-bottom:15px; +} +h1 { + font-size:large; + margin-bottom:20px; +} +.example-info{ + width:150px; + border:1px solid #c3daf9; + border-top:1px solid #DCEAFB; + border-left:1px solid #DCEAFB; + background:#ecf5fe url(info-bg.gif) repeat-x; + font-size:10px; + padding:8px; +} +pre.code{ + background: #F8F8F8; + border: 1px solid #e8e8e8; + padding:10px; + margin:10px; + margin-left:0px; + border-left:5px solid #e8e8e8; + font-size: 12px !important; + line-height:14px !important; +} +.msg .x-box-mc { + font-size:14px; +} +#msg-div { + position:absolute; + left:35%; + top:10px; + width:250px; + z-index:20000; +} +.x-grid3-row-body p { + margin:5px 5px 10px 5px !important; +} diff --git a/thirdpartyjs/extjs/examples/examples.js b/thirdpartyjs/extjs/examples/examples.js new file mode 100644 index 0000000..cc7cbfb --- /dev/null +++ b/thirdpartyjs/extjs/examples/examples.js @@ -0,0 +1,112 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.BLANK_IMAGE_URL = '../../resources/images/default/s.gif'; + +Ext.example = function(){ + var msgCt; + + function createBox(t, s){ + return ['
    ', + '
    ', + '

    ', t, '

    ', s, '
    ', + '
    ', + '
    '].join(''); + } + return { + msg : function(title, format){ + if(!msgCt){ + msgCt = Ext.DomHelper.insertFirst(document.body, {id:'msg-div'}, true); + } + msgCt.alignTo(document, 't-t'); + var s = String.format.apply(String, Array.prototype.slice.call(arguments, 1)); + var m = Ext.DomHelper.append(msgCt, {html:createBox(title, s)}, true); + m.slideIn('t').pause(1).ghost("t", {remove:true}); + }, + + init : function(){ + var s = Ext.get('extlib'), t = Ext.get('exttheme'); + if(!s || !t){ // run locally? + return; + } + var lib = Cookies.get('extlib') || 'ext', + theme = Cookies.get('exttheme') || 'aero'; + if(lib){ + s.dom.value = lib; + } + if(theme){ + t.dom.value = theme; + Ext.get(document.body).addClass('x-'+theme); + } + s.on('change', function(){ + Cookies.set('extlib', s.getValue()); + setTimeout(function(){ + window.location.reload(); + }, 250); + }); + + t.on('change', function(){ + Cookies.set('exttheme', t.getValue()); + setTimeout(function(){ + window.location.reload(); + }, 250); + }); + } + }; +}(); + +Ext.onReady(Ext.example.init, Ext.example); + + +// old school cookie functions grabbed off the web +var Cookies = {}; +Cookies.set = function(name, value){ + var argv = arguments; + var argc = arguments.length; + var expires = (argc > 2) ? argv[2] : null; + var path = (argc > 3) ? argv[3] : '/'; + var domain = (argc > 4) ? argv[4] : null; + var secure = (argc > 5) ? argv[5] : false; + document.cookie = name + "=" + escape (value) + + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + + ((path == null) ? "" : ("; path=" + path)) + + ((domain == null) ? "" : ("; domain=" + domain)) + + ((secure == true) ? "; secure" : ""); +}; + +Cookies.get = function(name){ + var arg = name + "="; + var alen = arg.length; + var clen = document.cookie.length; + var i = 0; + var j = 0; + while(i < clen){ + j = i + alen; + if (document.cookie.substring(i, j) == arg) + return Cookies.getCookieVal(j); + i = document.cookie.indexOf(" ", i) + 1; + if(i == 0) + break; + } + return null; +}; + +Cookies.clear = function(name) { + if(Cookies.get(name)){ + document.cookie = name + "=" + + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; + } +}; + +Cookies.getCookieVal = function(offset){ + var endstr = document.cookie.indexOf(";", offset); + if(endstr == -1){ + endstr = document.cookie.length; + } + return unescape(document.cookie.substring(offset, endstr)); +}; \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/examples.jsb b/thirdpartyjs/extjs/examples/examples.jsb new file mode 100644 index 0000000..19e4e94 --- /dev/null +++ b/thirdpartyjs/extjs/examples/examples.jsb @@ -0,0 +1,296 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/combos.css b/thirdpartyjs/extjs/examples/form/combos.css new file mode 100644 index 0000000..bf98984 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/combos.css @@ -0,0 +1,29 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +.search-item { + font:normal 11px tahoma, arial, helvetica, sans-serif; + padding:3px 10px 3px 10px; + border:1px solid #fff; + border-bottom:1px solid #eeeeee; + white-space:normal; +} +.search-item h3 { + display:block; + font:inherit; + font-weight:bold; +} + +.search-item h3 span { + float: right; + font-weight:normal; + margin:0 0 5px 5px; + width:100px; + display:block; + clear:none; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/combos.html b/thirdpartyjs/extjs/examples/form/combos.html new file mode 100644 index 0000000..10bfc02 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/combos.html @@ -0,0 +1,184 @@ + + + + + Combo Boxes + + + + + + + + + + + + + + + +

    Combo Boxes

    +

    The js is not minified so it is readable. See combos.js.

    + +

    +Data Sources
    +The combo box can use any type of Ext.data.Store as it's data source. + This means your data can be XML, JSON, arrays or any other supported format. It can be loaded using Ajax, script tags or be local. + This combo uses local data from a JS array. +

    +
    + +
    +
    // simple array store
    +var store = new Ext.data.SimpleStore({
    +    fields: ['abbr', 'state'],
    +    data : exampleData
    +});
    +var combo = new Ext.form.ComboBox({
    +    store: store,
    +    displayField:'state',
    +    typeAhead: true,
    +    mode: 'local',
    +    triggerAction: 'all',
    +    emptyText:'Select a state...',
    +    selectOnFocus:true
    +});
    +combo.applyTo('local-states');
    +
    +
    +

    +Unobtrusive
    +The combo box can very easily be used to convert existing select elements into auto-completing, filtering combos. +

    +
    +Transformed select:
    +

    +

    +Originally looked like:
    +

    +
    var converted = new Ext.form.ComboBox({
    +    typeAhead: true,
    +    triggerAction: 'all',
    +    transform:'state',
    +    width:135,
    +    forceSelection:true
    +});
    +
    +
    +

    + Grid Editor
    + Click here to see the combo as a grid editor. +

    +
    +

    + Templates and Ajax
    + Click here for a more advanced example. +

    +



    + + diff --git a/thirdpartyjs/extjs/examples/form/combos.js b/thirdpartyjs/extjs/examples/form/combos.js new file mode 100644 index 0000000..9968477 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/combos.js @@ -0,0 +1,36 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + // simple array store + var store = new Ext.data.SimpleStore({ + fields: ['abbr', 'state'], + data : Ext.exampledata.states // from states.js + }); + var combo = new Ext.form.ComboBox({ + store: store, + displayField:'state', + typeAhead: true, + mode: 'local', + triggerAction: 'all', + emptyText:'Select a state...', + selectOnFocus:true, + resizable:true + }); + combo.applyTo('local-states'); + + + + var converted = new Ext.form.ComboBox({ + typeAhead: true, + triggerAction: 'all', + transform:'state', + width:135, + forceSelection:true + }); +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/custom.html b/thirdpartyjs/extjs/examples/form/custom.html new file mode 100644 index 0000000..04fa566 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/custom.html @@ -0,0 +1,62 @@ + + + + Custom Fields + + + + + + + + + + + + + + + +

    + Custom Form Feilds
    + Ext provides many types of form fields to build interactive and rich forms. However, it also + provides a complete framework for building new types of fields quickly. The search field below + is an example. +

    +

    The js is not minified so it is readable. See custom.js.

    + +
    +
    +
    Forum Posts
    +
    +
    +
    +
    +
    + + + diff --git a/thirdpartyjs/extjs/examples/form/custom.js b/thirdpartyjs/extjs/examples/form/custom.js new file mode 100644 index 0000000..bc1f2be --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/custom.js @@ -0,0 +1,105 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + var ds = new Ext.data.Store({ + proxy: new Ext.data.ScriptTagProxy({ + url: 'http://extjs.com/forum/topics-remote.php' + }), + reader: new Ext.data.JsonReader({ + root: 'topics', + totalProperty: 'totalCount', + id: 'post_id' + }, [ + {name: 'postId', mapping: 'post_id'}, + {name: 'title', mapping: 'topic_title'}, + {name: 'topicId', mapping: 'topic_id'}, + {name: 'author', mapping: 'author'}, + {name: 'lastPost', mapping: 'post_time', type: 'date', dateFormat: 'timestamp'}, + {name: 'excerpt', mapping: 'post_text'} + ]), + + baseParams: {limit:20, forumId: 4} + }); + + // Custom rendering Template for the View + var resultTpl = new Ext.Template( + '
    ', + '

    {lastPost:date("M j, Y")}
    by {author}
    ', + '{title}

    ', + '

    {excerpt}

    ', + '
    ' + ); + + var view = new Ext.View('search-results', resultTpl, {store: ds}); + + var tb = new Ext.Toolbar('search-tb', [ + 'Search: ', ' ', + new Ext.app.SearchField({ + store: ds, + width:320 + }) + ]); + + new Ext.PagingToolbar('page-tb', ds, { + pageSize: 20, + displayInfo: true, + displayMsg: 'Topics {0} - {1} of {2}', + emptyMsg: "No topics to display" + }); + + ds.load({params:{start:0, limit:20, forumId: 4}}); +}); + +/** + * The custom search field + */ + +Ext.app.SearchField = Ext.extend(Ext.form.TwinTriggerField, { + initComponent : function(){ + Ext.app.SearchField.superclass.initComponent.call(this); + this.on('specialkey', function(f, e){ + if(e.getKey() == e.ENTER){ + this.onTrigger2Click(); + } + }, this); + }, + + validationEvent:false, + validateOnBlur:false, + trigger1Class:'x-form-clear-trigger', + trigger2Class:'x-form-search-trigger', + hideTrigger1:true, + width:180, + hasSearch : false, + paramName : 'query', + + onTrigger1Click : function(){ + if(this.hasSearch){ + var o = {start: 0}; + o[this.paramName] = ''; + this.store.reload({params:o}); + this.el.dom.value = ''; + this.triggers[0].hide(); + this.hasSearch = false; + } + }, + + onTrigger2Click : function(){ + var v = this.getRawValue(); + if(v.length < 1){ + this.onTrigger1Click(); + return; + } + var o = {start: 0}; + o[this.paramName] = v; + this.store.reload({params:o}); + this.hasSearch = true; + this.triggers[0].show(); + } +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/dynamic.html b/thirdpartyjs/extjs/examples/form/dynamic.html new file mode 100644 index 0000000..a018e69 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/dynamic.html @@ -0,0 +1,73 @@ + + + + +Forms + + + + + + + + + + + + + + +

    Dynamic Forms built with JavaScript

    +

    + These forms do not do anything and have very little validation. They solely demonstrate + how you can use Ext Forms to build and layout forms on the fly. +

    + +

    The js is not minified so it is readable. See dynamic.js.

    + +
    +
    +
    +

    Simple Form

    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +

    Multi-column and labels top

    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +

    Fieldsets, labels right and complex fields

    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +

    Multi-column, nesting and fieldsets

    +
    + +
    +
    +
    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/form/dynamic.js b/thirdpartyjs/extjs/examples/form/dynamic.js new file mode 100644 index 0000000..51c5db3 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/dynamic.js @@ -0,0 +1,293 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + + Ext.QuickTips.init(); + + // turn on validation errors beside the field globally + Ext.form.Field.prototype.msgTarget = 'side'; + + /* + * ================ Simple form ======================= + */ + var simple = new Ext.form.Form({ + labelWidth: 75, // label settings here cascade unless overridden + url:'save-form.php' + }); + simple.add( + new Ext.form.TextField({ + fieldLabel: 'First Name', + name: 'first', + width:175, + allowBlank:false + }), + + new Ext.form.TextField({ + fieldLabel: 'Last Name', + name: 'last', + width:175 + }), + + new Ext.form.TextField({ + fieldLabel: 'Company', + name: 'company', + width:175 + }), + + new Ext.form.TextField({ + fieldLabel: 'Email', + name: 'email', + vtype:'email', + width:175 + }) + ); + + simple.addButton('Save'); + simple.addButton('Cancel'); + + simple.render('form-ct'); + + + /* + * ================ Form 2 ======================= + */ + var top = new Ext.form.Form({ + labelAlign: 'top' + }); + + top.column( + {width:282}, // precise column sizes or percentages or straight CSS + new Ext.form.TextField({ + fieldLabel: 'First Name', + name: 'first', + width:225 + }), + + new Ext.form.TextField({ + fieldLabel: 'Company', + name: 'company', + width:225 + }) + ); + + top.column( + {width:272, style:'margin-left:10px', clear:true}, // apply custom css, clear:true means it is the last column + new Ext.form.TextField({ + fieldLabel: 'Last Name', + name: 'last', + width:225 + }), + + new Ext.form.TextField({ + fieldLabel: 'Email', + name: 'email', + vtype:'email', + width:225 + }) + ); + + top.container({}, + new Ext.form.HtmlEditor({ + id:'bio', + fieldLabel:'Biography', + width:550, + height:200 + }) + ); + + top.addButton('Save'); + top.addButton('Cancel'); + + top.render('form-ct2'); + + /* + * ================ Form 3 ======================= + */ + var fs = new Ext.form.Form({ + labelAlign: 'right', + labelWidth: 80 + }); + + fs.fieldset( + {legend:'Contact Information'}, + new Ext.form.TextField({ + fieldLabel: 'First Name', + name: 'first', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Last Name', + name: 'last', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Company', + name: 'company', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Email', + name: 'email', + vtype:'email', + width:190 + }), + + new Ext.form.ComboBox({ + fieldLabel: 'State', + hiddenName:'state', + store: new Ext.data.SimpleStore({ + fields: ['abbr', 'state'], + data : Ext.exampledata.states // from states.js + }), + displayField:'state', + typeAhead: true, + mode: 'local', + triggerAction: 'all', + emptyText:'Select a state...', + selectOnFocus:true, + width:190 + }), + + new Ext.form.DateField({ + fieldLabel: 'Date of Birth', + name: 'dob', + width:190, + allowBlank:false + }) + ); + + fs.addButton('Save'); + fs.addButton('Cancel'); + + fs.render('form-ct3'); + + /* + * ================ Form 4 ======================= + */ + var form = new Ext.form.Form({ + labelAlign: 'right', + labelWidth: 75 + }); + + form.column({width:342, labelWidth:75}); // open column, without auto close + form.fieldset( + {legend:'Contact Information'}, + new Ext.form.TextField({ + fieldLabel: 'Full Name', + name: 'fullName', + allowBlank:false, + value: 'Jack Slocum' + }), + + new Ext.form.TextField({ + fieldLabel: 'Job Title', + name: 'title', + value: 'Jr. Developer' + }), + + new Ext.form.TextField({ + fieldLabel: 'Company', + name: 'company', + value: 'Ext JS' + }), + + new Ext.form.TextArea({ + fieldLabel: 'Address', + name: 'address', + grow: true, + preventScrollbars:true, + value: '4 Redbulls Drive' + }) + ); + form.fieldset( + {legend:'Phone Numbers'}, + new Ext.form.TextField({ + fieldLabel: 'Home', + name: 'home', + value: '(888) 555-1212' + }), + + new Ext.form.TextField({ + fieldLabel: 'Business', + name: 'business' + }), + + new Ext.form.TextField({ + fieldLabel: 'Mobile', + name: 'mobile' + }), + + new Ext.form.TextField({ + fieldLabel: 'Fax', + name: 'fax' + }) + ); + form.end(); // closes the last container element (column, layout, fieldset, etc) and moves up 1 level in the stack + + + form.column( + {width:202, style:'margin-left:10px', clear:true} + ); + + form.fieldset( + {id:'photo', legend:'Photo'} + ); + form.end(); + + form.fieldset( + {legend:'Options', hideLabels:true}, + new Ext.form.Checkbox({ + boxLabel:'Ext 1.0 User', + name:'extuser' + }), + new Ext.form.Checkbox({ + boxLabel:'Ext Commercial User', + name:'extcomm' + }), + new Ext.form.Checkbox({ + boxLabel:'Ext Premium Member', + name:'extprem' + }), + new Ext.form.Checkbox({ + boxLabel:'Ext Team Member', + name:'extteam', + checked:true + }) + ); + + form.end(); // close the column + + + form.applyIfToFields({ + width:230 + }); + + form.addButton('Save'); + form.addButton('Cancel'); + + form.render('form-ct4'); + + // The form elements are standard HTML elements. By assigning an id (as we did above) + // we can manipulate them like any other element + var photo = Ext.get('photo'); + var c = photo.createChild({ + tag:'center', + cn: { + tag:'img', + src: 'http://extjs.com/forum/image.php?u=2&dateline=1175747336', + style:'margin-bottom:5px;' + } + }); + new Ext.Button(c, { + text: 'Change Photo' + }); +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/forms.css b/thirdpartyjs/extjs/examples/form/forms.css new file mode 100644 index 0000000..1c0542f --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/forms.css @@ -0,0 +1,31 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +.calendar .x-menu-item-icon { + background-image:url(../../resources/images/default/shared/calendar.gif); +} + +.search-item { + font:normal 11px tahoma, arial, helvetica, sans-serif; + padding:3px 10px 3px 10px; + border-bottom:1px solid #eeeeee; +} +.search-item h3 { + display:block; + font:inherit; + font-weight:bold; +} + +.search-item h3 span { + float: right; + font-weight:normal; + margin:0 0 5px 5px; + width:100px; + display:block; + clear:none; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/forms.html b/thirdpartyjs/extjs/examples/form/forms.html new file mode 100644 index 0000000..e8baa95 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/forms.html @@ -0,0 +1,147 @@ + + + + +Forms + + + + + + + + + + + + + +

    Forms

    +

    The js is not minified so it is readable. See forms.js.

    + +
    +
    +
    +
    +

    Ext Live Forms

    + +
    +
    + ComboBox Fields + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + Component Fields + +
    + +
    + +
    +
    +
    + +
    + Live Validation and key filtering + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    +
    +
    + +
    +
    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/form/forms.js b/thirdpartyjs/extjs/examples/form/forms.js new file mode 100644 index 0000000..4bab422 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/forms.js @@ -0,0 +1,69 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + Ext.QuickTips.init(); + + Ext.MessageBox.alert("Warning", "This example is not done and results may vary."); + + // Change field to default to validation message "under" instead of tooltips + Ext.form.Field.prototype.msgTarget = 'under'; + + + var date = new Ext.form.DateField({ + allowBlank:false + }); + + date.applyTo('markup-date'); + + var tranny = new Ext.form.ComboBox({ + typeAhead: true, + triggerAction: 'all', + transform:'light', + width:120, + forceSelection:true + }); + + var required = new Ext.form.TextField({ + allowBlank:false + }); + required.applyTo('required'); + + var alpha = new Ext.form.TextField({ + vtype:'alpha' + }); + alpha.applyTo('alpha'); + + var alpha2 = new Ext.form.TextField({ + vtype:'alpha', + disableKeyFilter:true + }); + alpha2.applyTo('alpha2'); + + var alphanum = new Ext.form.TextField({ + vtype:'alphanum' + }); + alphanum.applyTo('alphanum'); + + var email = new Ext.form.TextField({ + allowBlank:false, + vtype:'email' + }); + email.applyTo('email'); + + var url = new Ext.form.TextField({ + vtype:'url' + }); + url.applyTo('url'); + + var grow = new Ext.form.TextArea({ + width:200, grow:true + }); + grow.applyTo('grow'); + +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/forum-search.html b/thirdpartyjs/extjs/examples/form/forum-search.html new file mode 100644 index 0000000..1f2136b --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/forum-search.html @@ -0,0 +1,43 @@ + + + + + ComboBox - Live Search + + + + + + + + + + + + + + +

    + Combo with Templates and Ajax
    + This is a more advanced example that shows how you can combine paging, Ext.Template and a remote data store + to create a "live search" feature. +

    +

    The js is not minified so it is readable. See forum-search.js.

    + + +
    +
    +
    +

    Search the Ext Forums

    + +
    + Live search requires a minimum of 4 characters. +
    +
    +
    +
    + + + diff --git a/thirdpartyjs/extjs/examples/form/forum-search.js b/thirdpartyjs/extjs/examples/form/forum-search.js new file mode 100644 index 0000000..7a69026 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/forum-search.js @@ -0,0 +1,52 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + + var ds = new Ext.data.Store({ + proxy: new Ext.data.ScriptTagProxy({ + url: 'http://extjs.com/forum/topics-remote.php' + }), + reader: new Ext.data.JsonReader({ + root: 'topics', + totalProperty: 'totalCount', + id: 'post_id' + }, [ + {name: 'title', mapping: 'topic_title'}, + {name: 'topicId', mapping: 'topic_id'}, + {name: 'author', mapping: 'author'}, + {name: 'lastPost', mapping: 'post_time', type: 'date', dateFormat: 'timestamp'}, + {name: 'excerpt', mapping: 'post_text'} + ]) + }); + + // Custom rendering Template + var resultTpl = new Ext.Template( + '
    ', + '

    {lastPost:date("M j, Y")}
    by {author}
    {title}

    ', + '{excerpt}', + '
    ' + ); + + var search = new Ext.form.ComboBox({ + store: ds, + displayField:'title', + typeAhead: false, + loadingText: 'Searching...', + width: 570, + pageSize:10, + hideTrigger:true, + tpl: resultTpl, + onSelect: function(record){ // override default onSelect to do redirect + window.location = + String.format('http://extjs.com/forum/showthread.php?t={0}&p={1}', record.data.topicId, record.id); + } + }); + // apply it to the exsting input element + search.applyTo('search'); +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/states.js b/thirdpartyjs/extjs/examples/form/states.js new file mode 100644 index 0000000..ba0edb2 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/states.js @@ -0,0 +1,64 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +// some data used in the examples +Ext.namespace('Ext.exampledata'); + +Ext.exampledata.states = [ + ['AL', 'Alabama'], + ['AK', 'Alaska'], + ['AZ', 'Arizona'], + ['AR', 'Arkansas'], + ['CA', 'California'], + ['CO', 'Colorado'], + ['CN', 'Connecticut'], + ['DE', 'Delaware'], + ['DC', 'District of Columbia'], + ['FL', 'Florida'], + ['GA', 'Georgia'], + ['HW', 'Hawaii'], + ['ID', 'Idaho'], + ['IL', 'Illinois'], + ['IN', 'Indiana'], + ['IA', 'Iowa'], + ['KS', 'Kansas'], + ['KY', 'Kentucky'], + ['LA', 'Louisiana'], + ['MA', 'Maine'], + ['MD', 'Maryland'], + ['MS', 'Massachusetts'], + ['MI', 'Michigan'], + ['MN', 'Minnesota'], + ['MS', 'Mississippi'], + ['MO', 'Missouri'], + ['MT', 'Montana'], + ['NE', 'Nebraska'], + ['NV', 'Nevada'], + ['NH', 'New Hampshire'], + ['NJ', 'New Jersey'], + ['NM', 'New Mexico'], + ['NY', 'New York'], + ['NC', 'North Carolina'], + ['ND', 'North Dakota'], + ['OH', 'Ohio'], + ['OK', 'Oklahoma'], + ['OR', 'Oregon'], + ['PA', 'Pennsylvania'], + ['RH', 'Rhode Island'], + ['SC', 'South Carolina'], + ['SD', 'South Dakota'], + ['TE', 'Tennessee'], + ['TX', 'Texas'], + ['UT', 'Utah'], + ['VE', 'Vermont'], + ['VA', 'Virginia'], + ['WA', 'Washington'], + ['WV', 'West Virginia'], + ['WI', 'Wisconsin'], + ['WY', 'Wyoming'] + ]; \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/xml-errors.xml b/thirdpartyjs/extjs/examples/form/xml-errors.xml new file mode 100644 index 0000000..c778e30 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/xml-errors.xml @@ -0,0 +1,17 @@ + + + + + first + This is a test validation message from the server + ]]> + + + dob + This is a test validation message from the server + ]]> + + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/xml-form.html b/thirdpartyjs/extjs/examples/form/xml-form.html new file mode 100644 index 0000000..008c6fe --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/xml-form.html @@ -0,0 +1,48 @@ + + + +XML Form + + + + + + + + + + + + + + +

    Loading/Saving a Dynamic Form using XML

    +

    + This is a very simple example of using XML for load and submit of data with an Ext dynamic form. +

    +

    + Click "Load" to load the dummy XML data from the server using an XmlReader. +

    +

    + After loading the form, you will be able to hit submit. The submit action will make a post to the server, + and the dummy XML file on the server with test server-side validation failure messages will be sent back. + Those messages will be applied to the appropriate fields in the form. +

    +

    + Note: The built-in JSON support does not require any special readers for mapping. However, If you don't like the Form's built-in JSON format, you could also use a JsonReader for reading data into a form. +

    +

    The js is not minified so it is readable. See xml-form.js.

    + +
    +
    +
    +

    XML Form

    +
    + +
    +
    +
    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/form/xml-form.js b/thirdpartyjs/extjs/examples/form/xml-form.js new file mode 100644 index 0000000..88c9882 --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/xml-form.js @@ -0,0 +1,124 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + + Ext.QuickTips.init(); + + // turn on validation errors beside the field globally + Ext.form.Field.prototype.msgTarget = 'side'; + + var fs = new Ext.form.Form({ + labelAlign: 'right', + labelWidth: 75, + waitMsgTarget: 'box-bd', + + // configure how to read the XML Data + reader : new Ext.data.XmlReader({ + record : 'contact', + success: '@success' + }, [ + {name: 'first', mapping:'name/first'}, // custom mapping + {name: 'last', mapping:'name/last'}, + 'company', 'email', 'state', + {name: 'dob', type:'date', dateFormat:'m/d/Y'} // custom data types + ]), + + // reusable eror reader class defined at the end of this file + errorReader: new Ext.form.XmlErrorReader() + }); + + fs.fieldset( + {legend:'Contact Information'}, + new Ext.form.TextField({ + fieldLabel: 'First Name', + name: 'first', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Last Name', + name: 'last', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Company', + name: 'company', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Email', + name: 'email', + vtype:'email', + width:190 + }), + + new Ext.form.ComboBox({ + fieldLabel: 'State', + hiddenName:'state', + store: new Ext.data.SimpleStore({ + fields: ['abbr', 'state'], + data : Ext.exampledata.states // from states.js + }), + valueField:'abbr', + displayField:'state', + typeAhead: true, + mode: 'local', + triggerAction: 'all', + emptyText:'Select a state...', + selectOnFocus:true, + width:190 + }), + + new Ext.form.DateField({ + fieldLabel: 'Date of Birth', + name: 'dob', + width:190, + allowBlank:false + }) + ); + + // simple button add + fs.addButton('Load', function(){ + fs.load({url:'xml-form.xml', waitMsg:'Loading'}); + }); + + // explicit add + var submit = fs.addButton({ + text: 'Submit', + disabled:true, + handler: function(){ + fs.submit({url:'xml-errors.xml', waitMsg:'Saving Data...'}); + } + }); + + fs.render('form-ct'); + + fs.on({ + actioncomplete: function(form, action){ + if(action.type == 'load'){ + submit.enable(); + } + } + }); + +}); + +// A reusable error reader class for XML forms +Ext.form.XmlErrorReader = function(){ + Ext.form.XmlErrorReader.superclass.constructor.call(this, { + record : 'field', + success: '@success' + }, [ + 'id', 'msg' + ] + ); +}; +Ext.extend(Ext.form.XmlErrorReader, Ext.data.XmlReader); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/form/xml-form.xml b/thirdpartyjs/extjs/examples/form/xml-form.xml new file mode 100644 index 0000000..9eaa5ee --- /dev/null +++ b/thirdpartyjs/extjs/examples/form/xml-form.xml @@ -0,0 +1,13 @@ + + + + + Jack + Slocum + + Ext JS + support@extjs.com + OH + 04/15/2007 + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/array-grid.html b/thirdpartyjs/extjs/examples/grid/array-grid.html new file mode 100644 index 0000000..0a9bc3f --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/array-grid.html @@ -0,0 +1,27 @@ + + + +Array Grid Example + + + + + + + + + + + + + + +

    Array Grid Example

    +

    This example shows how to create a grid from Array data. For more details on this example, see the blog post.

    +

    Note that the js is not minified so it is readable. See array-grid.js.

    + +
    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/grid/array-grid.js b/thirdpartyjs/extjs/examples/grid/array-grid.js new file mode 100644 index 0000000..ccba359 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/array-grid.js @@ -0,0 +1,112 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +var Example = { + init : function(){ + // some data yanked off the web + var myData = [ + ['3m Co',71.72,0.02,0.03,'9/1 12:00am'], + ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'], + ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'], + ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'], + ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'], + ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'], + ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'], + ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'], + ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'], + ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'], + ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'], + ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'], + ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'], + ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am'], + ['Honeywell Intl Inc',38.77,0.05,0.13,'9/1 12:00am'], + ['Intel Corporation',19.88,0.31,1.58,'9/1 12:00am'], + ['International Business Machines',81.41,0.44,0.54,'9/1 12:00am'], + ['Johnson & Johnson',64.72,0.06,0.09,'9/1 12:00am'], + ['JP Morgan & Chase & Co',45.73,0.07,0.15,'9/1 12:00am'], + ['McDonald\'s Corporation',36.76,0.86,2.40,'9/1 12:00am'], + ['Merck & Co., Inc.',40.96,0.41,1.01,'9/1 12:00am'], + ['Microsoft Corporation',25.84,0.14,0.54,'9/1 12:00am'], + ['Pfizer Inc',27.96,0.4,1.45,'9/1 12:00am'], + ['The Coca-Cola Company',45.07,0.26,0.58,'9/1 12:00am'], + ['The Home Depot, Inc.',34.64,0.35,1.02,'9/1 12:00am'], + ['The Procter & Gamble Company',61.91,0.01,0.02,'9/1 12:00am'], + ['United Technologies Corporation',63.26,0.55,0.88,'9/1 12:00am'], + ['Verizon Communications',35.57,0.39,1.11,'9/1 12:00am'], + ['Wal-Mart Stores, Inc.',45.45,0.73,1.63,'9/1 12:00am'], + ['Walt Disney Company (The) (Holding Company)',29.89,0.24,0.81,'9/1 12:00am'] + ]; + + var ds = new Ext.data.Store({ + proxy: new Ext.data.MemoryProxy(myData), + reader: new Ext.data.ArrayReader({}, [ + {name: 'company'}, + {name: 'price', type: 'float'}, + {name: 'change', type: 'float'}, + {name: 'pctChange', type: 'float'}, + {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'} + ]) + }); + ds.load(); + + // example of custom renderer function + function italic(value){ + return '' + value + ''; + } + + // example of custom renderer function + function change(val){ + if(val > 0){ + return '' + val + ''; + }else if(val < 0){ + return '' + val + ''; + } + return val; + } + // example of custom renderer function + function pctChange(val){ + if(val > 0){ + return '' + val + '%'; + }else if(val < 0){ + return '' + val + '%'; + } + return val; + } + + // the DefaultColumnModel expects this blob to define columns. It can be extended to provide + // custom or reusable ColumnModels + var colModel = new Ext.grid.ColumnModel([ + {id:'company',header: "Company", width: 160, sortable: true, locked:false, dataIndex: 'company'}, + {header: "Price", width: 75, sortable: true, renderer: Ext.util.Format.usMoney, dataIndex: 'price'}, + {header: "Change", width: 75, sortable: true, renderer: change, dataIndex: 'change'}, + {header: "% Change", width: 75, sortable: true, renderer: pctChange, dataIndex: 'pctChange'}, + {header: "Last Updated", width: 85, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'} + ]); + + + // create the Grid + var grid = new Ext.grid.Grid('grid-example', { + ds: ds, + cm: colModel, + autoExpandColumn: 'company' + }); + + var layout = Ext.BorderLayout.create({ + center: { + margins:{left:3,top:3,right:3,bottom:3}, + panels: [new Ext.GridPanel(grid)] + } + }, 'grid-panel'); + + grid.render(); + + + grid.getSelectionModel().selectFirstRow(); + } +}; +Ext.onReady(Example.init, Example); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/custom-grid.html b/thirdpartyjs/extjs/examples/grid/custom-grid.html new file mode 100644 index 0000000..512bc01 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/custom-grid.html @@ -0,0 +1,59 @@ + + + +Customizing the Grid + + + + + + + + + + + + + + +

    Property Grid

    + + +
    + + + diff --git a/thirdpartyjs/extjs/examples/grid/custom-grid.js b/thirdpartyjs/extjs/examples/grid/custom-grid.js new file mode 100644 index 0000000..e14eda3 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/custom-grid.js @@ -0,0 +1,8 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + diff --git a/thirdpartyjs/extjs/examples/grid/details.gif b/thirdpartyjs/extjs/examples/grid/details.gif new file mode 100644 index 0000000..add0ef2 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/details.gif diff --git a/thirdpartyjs/extjs/examples/grid/edit-grid.html b/thirdpartyjs/extjs/examples/grid/edit-grid.html new file mode 100644 index 0000000..320e9b6 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/edit-grid.html @@ -0,0 +1,40 @@ + + + +Editor Grid Example + + + + + + + + + + + + + + +

    Editor Grid Example

    +

    This example shows how to create a grid with inline editing. For more details on this example, see the blog post.

    +

    Note that the js is not minified so it is readable. See edit-grid.js.

    + +

    The data in the grid is loaded from plants.xml.

    + + + + +
    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/grid/edit-grid.js b/thirdpartyjs/extjs/examples/grid/edit-grid.js new file mode 100644 index 0000000..bb91036 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/edit-grid.js @@ -0,0 +1,138 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + Ext.QuickTips.init(); + function formatBoolean(value){ + return value ? 'Yes' : 'No'; + }; + + function formatDate(value){ + return value ? value.dateFormat('M d, Y') : ''; + }; + // shorthand alias + var fm = Ext.form, Ed = Ext.grid.GridEditor; + + // the column model has information about grid columns + // dataIndex maps the column to the specific data field in + // the data store (created below) + var cm = new Ext.grid.ColumnModel([{ + header: "Common Name", + dataIndex: 'common', + width: 220, + editor: new Ed(new fm.TextField({ + allowBlank: false + })) + },{ + header: "Light", + dataIndex: 'light', + width: 130, + editor: new Ed(new Ext.form.ComboBox({ + typeAhead: true, + triggerAction: 'all', + transform:'light', + lazyRender:true + })) + },{ + header: "Price", + dataIndex: 'price', + width: 70, + align: 'right', + renderer: 'usMoney', + editor: new Ed(new fm.NumberField({ + allowBlank: false, + allowNegative: false, + maxValue: 10 + })) + },{ + header: "Available", + dataIndex: 'availDate', + width: 95, + renderer: formatDate, + editor: new Ed(new fm.DateField({ + format: 'm/d/y', + minValue: '01/01/06', + disabledDays: [0, 6], + disabledDaysText: 'Plants are not available on the weekends' + })) + },{ + header: "Indoor?", + dataIndex: 'indoor', + width: 55, + renderer: formatBoolean, + editor: new Ed(new fm.Checkbox()) + }]); + + // by default columns are sortable + cm.defaultSortable = true; + + // this could be inline, but we want to define the Plant record + // type so we can add records dynamically + var Plant = Ext.data.Record.create([ + // the "name" below matches the tag name to read, except "availDate" + // which is mapped to the tag "availability" + {name: 'common', type: 'string'}, + {name: 'botanical', type: 'string'}, + {name: 'light'}, + {name: 'price', type: 'float'}, // automatic date conversions + {name: 'availDate', mapping: 'availability', type: 'date', dateFormat: 'm/d/Y'}, + {name: 'indoor', type: 'bool'} + ]); + + // create the Data Store + var ds = new Ext.data.Store({ + // load using HTTP + proxy: new Ext.data.HttpProxy({url: 'plants.xml'}), + + // the return will be XML, so lets set up a reader + reader: new Ext.data.XmlReader({ + // records will have a "plant" tag + record: 'plant' + }, Plant) + }); + + // create the editor grid + var grid = new Ext.grid.EditorGrid('editor-grid', { + ds: ds, + cm: cm, + //selModel: new Ext.grid.RowSelectionModel(), + enableColLock:false + }); + + var layout = Ext.BorderLayout.create({ + center: { + margins:{left:3,top:3,right:3,bottom:3}, + panels: [new Ext.GridPanel(grid)] + } + }, 'grid-panel'); + + + // render it + grid.render(); + + + var gridHead = grid.getView().getHeaderPanel(true); + var tb = new Ext.Toolbar(gridHead, [{ + text: 'Add Plant', + handler : function(){ + var p = new Plant({ + common: 'New Plant 1', + light: 'Mostly Shade', + price: 0, + availDate: new Date(), + indoor: false + }); + grid.stopEditing(); + ds.insert(0, p); + grid.startEditing(0, 0); + } + }]); + + // trigger the data store load + ds.load(); +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/from-markup.html b/thirdpartyjs/extjs/examples/grid/from-markup.html new file mode 100644 index 0000000..4e5cf96 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/from-markup.html @@ -0,0 +1,64 @@ + + + + +From Markup Grid Example + + + + + + + + + + + +

    From Markup Grid Example

    +

    This example shows how to create a grid with from an existing, unformatted HTML table.

    +

    Note that the js is not minified so it is readable. See from-markup.js.

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameAgeSex
    Barney Rubble32Male
    Fred Flintstone33Male
    Betty Rubble32Female
    Pebbles1Female
    Bamm Bamm2Male
    + + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/from-markup.js b/thirdpartyjs/extjs/examples/grid/from-markup.js new file mode 100644 index 0000000..3013d44 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/from-markup.js @@ -0,0 +1,90 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function() { + var btn = Ext.get("create-grid"); + btn.on("click", function(){ + btn.dom.disabled = true; + + // create the grid + var grid = new Ext.grid.TableGrid("the-table"); + grid.render(); + + }, false, {single:true}); // run once +}); + +/** + * @class Ext.grid.TableGrid + * @extends Ext.grid.Grid + * A Grid which creates itself from an existing HTML table element. + * @constructor + * @param {String/HTMLElement/Ext.Element} table The table element from which this grid will be created - + * The table MUST have some type of size defined for the grid to fill. The container will be + * automatically set to position relative if it isn't already. + * @param {Object} config A config object that sets properties on this grid and has two additional (optional) + * properties: fields and columns which allow for customizing data fields and columns for this grid. + * @history + * 2007-03-01 Original version by Nige "Animal" White + * 2007-03-10 jvs Slightly refactored to reuse existing classes + */ +Ext.grid.TableGrid = function(table, config) { + config = config || {}; + var cf = config.fields || [], ch = config.columns || []; + table = Ext.get(table); + + var ct = table.insertSibling(); + + var fields = [], cols = []; + var headers = table.query("thead th"); + for (var i = 0, h; h = headers[i]; i++) { + var text = h.innerHTML; + var name = 'tcol-'+i; + + fields.push(Ext.applyIf(cf[i] || {}, { + name: name, + mapping: 'td:nth('+(i+1)+')/@innerHTML' + })); + + cols.push(Ext.applyIf(ch[i] || {}, { + 'header': text, + 'dataIndex': name, + 'width': h.offsetWidth, + 'tooltip': h.title, + 'sortable': true + })); + } + + var ds = new Ext.data.Store({ + reader: new Ext.data.XmlReader({ + record:'tbody tr' + }, fields) + }); + + ds.loadData(table.dom); + + var cm = new Ext.grid.ColumnModel(cols); + + if(config.width || config.height){ + ct.setSize(config.width || 'auto', config.height || 'auto'); + } + if(config.remove !== false){ + table.remove(); + } + + Ext.grid.TableGrid.superclass.constructor.call(this, ct, + Ext.applyIf(config, { + 'ds': ds, + 'cm': cm, + 'sm': new Ext.grid.RowSelectionModel(), + autoHeight:true, + autoWidth:true + } + )); +}; + +Ext.extend(Ext.grid.TableGrid, Ext.grid.Grid); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/grid-examples.css b/thirdpartyjs/extjs/examples/grid/grid-examples.css new file mode 100644 index 0000000..043704e --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/grid-examples.css @@ -0,0 +1,62 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +#grid-example .x-grid-col-1 { + text-align: right; +} +#grid-example .x-grid-col-2{ + text-align: right; +} +#grid-example .x-grid-col-3 { + text-align: right; +} +#grid-example .x-grid-col-4 { + text-align: right; +} +#grid-example.x-grid-mso{ + border: 1px solid #6593cf; +} +#grid-example.x-grid-vista{ + border: 1px solid #b3bcc0; +} +#xml-grid-example{ + border: 1px solid #cbc7b8; + left: 0; + position: relative; + top: 0; +} +#xml-grid-example.x-grid-mso{ + border: 1px solid #6593cf; +} +#xml-grid-example.x-grid-vista{ + border: 1px solid #b3bcc0; +} +#editor-grid .x-grid-col-2{ + text-align:right; +} +.x-grid-col-topic b { + font-family:tahoma, verdana; + color:#333; + display:block; + padding-left:18px; + line-height:18px; + vertical-align:middle; + background:transparent url(topic.gif) no-repeat left 1px; +} +.x-grid-col-topic b i { + font-weight:normal; + font-style: normal; + color:#000; +} +.details .x-btn-text { + background-image: url(details.gif); +} +.x-resizable-pinned .x-resizable-handle-south{ + background:url(../../resources/images/default/sizer/s-handle-dark.gif); + background-position: top; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/paging.html b/thirdpartyjs/extjs/examples/grid/paging.html new file mode 100644 index 0000000..5da9e2a --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/paging.html @@ -0,0 +1,36 @@ + + + + +Paging Grid Example + + + + + + + + + + + + + + +

    Paging Grid Example

    +

    This example shows how to create a grid with paging. This grid uses a ScriptTagProxy to fetch cross-domain + remote data (from the Ext forums).

    +

    Note that the js is not minified so it is readable. See paging.js.

    + +
    +
    +
    +

    Ext - Help Forum

    +
    +
    +
    +
    + + + + diff --git a/thirdpartyjs/extjs/examples/grid/paging.js b/thirdpartyjs/extjs/examples/grid/paging.js new file mode 100644 index 0000000..8d9befa --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/paging.js @@ -0,0 +1,123 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + + // create the Data Store + var ds = new Ext.data.Store({ + // load using script tags for cross domain, if the data in on the same domain as + // this page, an HttpProxy would be better + proxy: new Ext.data.ScriptTagProxy({ + url: 'http://extjs.com/forum/topics-remote.php' + }), + + // create reader that reads the Topic records + reader: new Ext.data.JsonReader({ + root: 'topics', + totalProperty: 'totalCount', + id: 'post_id' + }, [ + {name: 'title', mapping: 'topic_title'}, + {name: 'author', mapping: 'author'}, + {name: 'totalPosts', mapping: 'topic_replies', type: 'int'}, + {name: 'lastPost', mapping: 'post_time', type: 'date', dateFormat: 'timestamp'}, + {name: 'excerpt', mapping: 'post_text'} + ]), + + // turn on remote sorting + remoteSort: true + }); + + + // pluggable renders + function renderTopic(value, p, record){ + return String.format('{0}{1}', value, record.data['excerpt']); + } + function renderTopicPlain(value){ + return String.format('{0}', value); + } + function renderLast(value, p, r){ + return String.format('{0}
    by {1}', value.dateFormat('M j, Y, g:i a'), r.data['author']); + } + function renderLastPlain(value){ + return value.dateFormat('M j, Y, g:i a'); + } + + // the column model has information about grid columns + // dataIndex maps the column to the specific data field in + // the data store + var cm = new Ext.grid.ColumnModel([{ + id: 'topic', // id assigned so we can apply custom css (e.g. .x-grid-col-topic b { color:#333 }) + header: "Topic", + dataIndex: 'title', + width: 490, + renderer: renderTopic, + css: 'white-space:normal;' + },{ + header: "Author", + dataIndex: 'author', + width: 100, + hidden: true + },{ + id: 'last', + header: "Last Post", + dataIndex: 'lastPost', + width: 150, + renderer: renderLast + }]); + + + + // create the editor grid + var grid = new Ext.grid.Grid('topic-grid', { + ds: ds, + cm: cm, + selModel: new Ext.grid.RowSelectionModel({singleSelect:true}), + enableColLock:false, + loadMask: true + }); + + // make the grid resizable, do before render for better performance + var rz = new Ext.Resizable('topic-grid', { + wrap:true, + minHeight:100, + pinned:true, + handles: 's' + }); + rz.on('resize', grid.autoSize, grid); + + // render it + grid.render(); + + var gridFoot = grid.getView().getFooterPanel(true); + + // add a paging toolbar to the grid's footer + var paging = new Ext.PagingToolbar(gridFoot, ds, { + pageSize: 25, + displayInfo: true, + displayMsg: 'Displaying topics {0} - {1} of {2}', + emptyMsg: "No topics to display" + }); + // add the detailed view button + paging.add('-', { + pressed: true, + enableToggle:true, + text: 'Detailed View', + cls: 'x-btn-text-icon details', + toggleHandler: toggleDetails + }); + + // trigger the data store load + ds.load({params:{start:0, limit:25}}); + + function toggleDetails(btn, pressed){ + cm.getColumnById('topic').renderer = pressed ? renderTopic : renderTopicPlain; + cm.getColumnById('last').renderer = pressed ? renderLast : renderLastPlain; + grid.getView().refresh(); + } +}); diff --git a/thirdpartyjs/extjs/examples/grid/plants.xml b/thirdpartyjs/extjs/examples/grid/plants.xml new file mode 100644 index 0000000..dfb0ea5 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/plants.xml @@ -0,0 +1,327 @@ + + + + Bloodroot + Sanguinaria canadensis + 4 + Mostly Shady + 2.44 + 03/15/2006 + true + + + Columbine + Aquilegia canadensis + 3 + Mostly Shady + 9.37 + 03/06/2006 + true + + + Marsh Marigold + Caltha palustris + 4 + Mostly Sunny + 6.81 + 05/17/2006 + false + + + Cowslip + Caltha palustris + 4 + Mostly Shady + 9.90 + 03/06/2006 + true + + + Dutchman's-Breeches + Dicentra cucullaria + 3 + Mostly Shady + 6.44 + 01/20/2006 + true + + + Ginger, Wild + Asarum canadense + 3 + Mostly Shady + 9.03 + 04/18/2006 + true + + + Hepatica + Hepatica americana + 4 + Mostly Shady + 4.45 + 01/26/2006 + true + + + Liverleaf + Hepatica americana + 4 + Mostly Shady + 3.99 + 01/02/2006 + true + + + Jack-In-The-Pulpit + Arisaema triphyllum + 4 + Mostly Shady + 3.23 + 02/01/2006 + true + + + Mayapple + Podophyllum peltatum + 3 + Mostly Shady + 2.98 + 06/05/2006 + true + + + Phlox, Woodland + Phlox divaricata + 3 + Sun or Shade + 2.80 + 01/22/2006 + false + + + Phlox, Blue + Phlox divaricata + 3 + Sun or Shade + 5.59 + 02/16/2006 + false + + + Spring-Beauty + Claytonia Virginica + 7 + Mostly Shady + 6.59 + 02/01/2006 + true + + + Trillium + Trillium grandiflorum + 5 + Sun or Shade + 3.90 + 04/29/2006 + false + + + Wake Robin + Trillium grandiflorum + 5 + Sun or Shade + 3.20 + 02/21/2006 + false + + + Violet, Dog-Tooth + Erythronium americanum + 4 + Shade + 9.04 + 02/01/2006 + true + + + Trout Lily + Erythronium americanum + 4 + Shade + 6.94 + 03/24/2006 + true + + + Adder's-Tongue + Erythronium americanum + 4 + Shade + 9.58 + 04/13/2006 + true + + + Anemone + Anemone blanda + 6 + Mostly Shady + 8.86 + 12/26/2006 + true + + + Grecian Windflower + Anemone blanda + 6 + Mostly Shady + 9.16 + 07/10/2006 + true + + + Bee Balm + Monarda didyma + 4 + Shade + 4.59 + 05/03/2006 + true + + + Bergamot + Monarda didyma + 4 + Shade + 7.16 + 04/27/2006 + true + + + Black-Eyed Susan + Rudbeckia hirta + Annual + Sunny + 9.80 + 06/18/2006 + false + + + Buttercup + Ranunculus + 4 + Shade + 2.57 + 06/10/2006 + true + + + Crowfoot + Ranunculus + 4 + Shade + 9.34 + 04/03/2006 + true + + + Butterfly Weed + Asclepias tuberosa + Annual + Sunny + 2.78 + 06/30/2006 + false + + + Cinquefoil + Potentilla + Annual + Shade + 7.06 + 05/25/2006 + true + + + Primrose + Oenothera + 3 - 5 + Sunny + 6.56 + 01/30/2006 + false + + + Gentian + Gentiana + 4 + Sun or Shade + 7.81 + 05/18/2006 + false + + + Blue Gentian + Gentiana + 4 + Sun or Shade + 8.56 + 05/02/2006 + false + + + Jacob's Ladder + Polemonium caeruleum + Annual + Shade + 9.26 + 02/21/2006 + true + + + Greek Valerian + Polemonium caeruleum + Annual + Shade + 4.36 + 07/14/2006 + true + + + California Poppy + Eschscholzia californica + Annual + Sunny + 7.89 + 03/27/2006 + false + + + Shooting Star + Dodecatheon + Annual + Mostly Shady + 8.60 + 05/13/2006 + true + + + Snakeroot + Cimicifuga + Annual + Shade + 5.63 + 07/11/2006 + true + + + Cardinal Flower + Lobelia cardinalis + 2 + Shade + 3.02 + 02/22/2006 + true + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/sheldon.xml b/thirdpartyjs/extjs/examples/grid/sheldon.xml new file mode 100644 index 0000000..2ab61f0 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/sheldon.xml @@ -0,0 +1,151 @@ + + + + +
    +
    + 18CZWZFXKSV8F601AGMF + + + + + + + + + + 1.05041599273682 +
    + + + True + + Sidney Sheldon + Books + + + 203 + 21 + + 0446355453 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446355453%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446355453%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + Master of the Game + + + + 0446613657 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446613657%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446613657%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + Are You Afraid of the Dark? + + + + 0446357421 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446357421%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446357421%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + If Tomorrow Comes + + + + 0446607207 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446607207%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446607207%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Vision + Book + Tell Me Your Dreams + + + + 0446357448 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446357448%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446357448%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + Bloodline + + + + 0446532673 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446532673%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446532673%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + The Other Side of Me + + + + 0446356573 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446356573%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446356573%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + A Stranger in the Mirror + + + + 0060198346 + + http://www.amazon.com/gp/redirect.html%3FASIN=0060198346%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0060198346%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + William Morrow & Company + Book + The Sky Is Falling + + + + 0446354732 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446354732%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446354732%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + Nothing Lasts Forever + + + + 0446341916 + + http://www.amazon.com/gp/redirect.html%3FASIN=0446341916%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0446341916%253FSubscriptionId=1A7XKHR5BYD0WPJVQEG2 + + + Sidney Sheldon + Warner Books + Book + The Naked Face + + + +
    \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/grid/topic.gif b/thirdpartyjs/extjs/examples/grid/topic.gif new file mode 100644 index 0000000..abcebe5 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/topic.gif diff --git a/thirdpartyjs/extjs/examples/grid/xml-grid.html b/thirdpartyjs/extjs/examples/grid/xml-grid.html new file mode 100644 index 0000000..1f37730 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/xml-grid.html @@ -0,0 +1,31 @@ + + + +XML Grid Example + + + + + + + + + + + + + +

    XML Grid Example

    +

    This example shows how to load a grid with XML data. For more details on this example, see the blog post.

    + +

    This grid also uses autoHeight and autoWidth to dynamically size to fit it's data and columns.

    + +

    Note that the js is not minified so it is readable. See xml-grid.js.

    + +

    The data in the grid is loaded from sheldon.xml, which is directly from an Amazon.com search.

    + + +
    + + + diff --git a/thirdpartyjs/extjs/examples/grid/xml-grid.js b/thirdpartyjs/extjs/examples/grid/xml-grid.js new file mode 100644 index 0000000..19a9ac4 --- /dev/null +++ b/thirdpartyjs/extjs/examples/grid/xml-grid.js @@ -0,0 +1,46 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + + // create the Data Store + var ds = new Ext.data.Store({ + // load using HTTP + proxy: new Ext.data.HttpProxy({url: 'sheldon.xml'}), + + // the return will be XML, so lets set up a reader + reader: new Ext.data.XmlReader({ + // records will have an "Item" tag + record: 'Item', + id: 'ASIN', + totalRecords: '@total' + }, [ + // set up the fields mapping into the xml doc + // The first needs mapping, the others are very basic + {name: 'Author', mapping: 'ItemAttributes > Author'}, + 'Title', 'Manufacturer', 'ProductGroup' + ]) + }); + + var cm = new Ext.grid.ColumnModel([ + {header: "Author", width: 120, dataIndex: 'Author'}, + {header: "Title", width: 180, dataIndex: 'Title'}, + {header: "Manufacturer", width: 115, dataIndex: 'Manufacturer'}, + {header: "Product Group", width: 100, dataIndex: 'ProductGroup'} + ]); + cm.defaultSortable = true; + + // create the grid + var grid = new Ext.grid.Grid('example-grid', { + ds: ds, + cm: cm + }); + grid.render(); + + ds.load(); +}); diff --git a/thirdpartyjs/extjs/examples/info-bg.gif b/thirdpartyjs/extjs/examples/info-bg.gif new file mode 100644 index 0000000..362d65b --- /dev/null +++ b/thirdpartyjs/extjs/examples/info-bg.gif diff --git a/thirdpartyjs/extjs/examples/layout/complex.html b/thirdpartyjs/extjs/examples/layout/complex.html new file mode 100644 index 0000000..250f647 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/complex.html @@ -0,0 +1,153 @@ + + + Complex Layout + + + + + + + + + + + +
    +
    + Hi. I'm the west panel. +
    +
    + north - generally for menus, toolbars and/or advertisements +
    +
    + The layout manager will automatically create and/or remove the TabPanel component when a region has more than one panel. Close one of my panels and you can see what I mean. +
    +
    +

    Show West Region

    +

    My closable attribute is set to false so you can't close me. The other center panels can be closed.

    +

    The center panel automatically grows to fit the remaining space in the container that isn't taken up by the border regions.

    +
    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

    +

    Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

    +

    Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

    +

    Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras imperdiet felis id velit. Ut non quam at sem dictum ullamcorper. Vestibulum pharetra purus sed pede. Aliquam ultrices, nunc in varius mattis, felis justo pretium magna, eget laoreet justo eros id eros. Aliquam elementum diam fringilla nulla. Praesent laoreet sapien vel metus. Cras tempus, sapien condimentum dictum dapibus, lorem augue fringilla orci, ut tincidunt eros nisi eget turpis. Nullam nunc nunc, eleifend et, dictum et, pharetra a, neque. Ut feugiat. Aliquam erat volutpat. Donec pretium odio nec felis. Phasellus sagittis lacus eget sapien. Donec est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

    +

    Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

    +

    Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

    +

    Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

    +

    Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

    +
    +
    +

    Done reading me? Close me by clicking the X in the top right corner.

    +

    Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

    +

    Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

    +

    Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

    +

    Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

    +
    +
    +
    +
    + south - generally for informational stuff, also could be for status bar +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/layout/feed-proxy.ashx b/thirdpartyjs/extjs/examples/layout/feed-proxy.ashx new file mode 100644 index 0000000..8211aa1 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/feed-proxy.ashx @@ -0,0 +1 @@ +<%@ WebHandler Language="VB" CodeBehind="feed-proxy.ashx.vb" Class="SendGate.feedproxy1" %> diff --git a/thirdpartyjs/extjs/examples/layout/feed-proxy.ashx.vb b/thirdpartyjs/extjs/examples/layout/feed-proxy.ashx.vb new file mode 100644 index 0000000..66e0bae --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/feed-proxy.ashx.vb @@ -0,0 +1,54 @@ +Imports System.Web +Imports System.Web.Services +Imports System +Imports System.IO +Imports System.Net + +Public Class feedproxy1 + Implements System.Web.IHttpHandler + + Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest + + 'Address of URL + 'Dim URL As String = "http://www.jackslocum.com/yui/feed/" + Dim URL As String = context.Request.Form("feed") + 'Only allow http:// prefix + If IsNothing(URL) Then + Exit Sub + End If + If URL.Substring(0, 7) = "http://" Then + Try + 'Dim enc As Encoding = Encoding.GetEncoding("UTF-8") + Dim enc As Encoding = Encoding.GetEncoding("ISO-8859-1") + + Dim request As HttpWebRequest = WebRequest.Create(URL) + Dim response As HttpWebResponse = request.GetResponse() + Dim reader As StreamReader = New StreamReader(response.GetResponseStream(), enc) + Dim str As String '= reader.ReadLine() + Dim reply As String = "" + 'Do While str.Length > 0 And Not reader.EndOfStream + Do While Not reader.EndOfStream + str = reader.ReadLine() + reply &= str & vbCrLf + 'Console.WriteLine(str) + Loop + context.Response.ContentType = "text/xml" + context.Response.ContentEncoding = enc + context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(60)) + context.Response.Cache.SetCacheability(HttpCacheability.Public) + + context.Response.Write(reply) + Catch ex As Exception + End Try + + End If + + End Sub + + ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable + Get + Return False + End Get + End Property + +End Class \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/layout/feed-proxy.php b/thirdpartyjs/extjs/examples/layout/feed-proxy.php new file mode 100644 index 0000000..e4654dc --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/feed-proxy.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/layout/feed-viewer.css b/thirdpartyjs/extjs/examples/layout/feed-viewer.css new file mode 100644 index 0000000..48add7a --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/feed-viewer.css @@ -0,0 +1,216 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +/* + * Ext - JS Library 1.0 Alpha 2 + * Copyright(c) 2006-2007, Jack Slocum. + */ + +html, body { + font: normal 9pt tahoma; + margin: 0px; + padding:0px; + border:0px; +} +.x-layout-panel-south{ + background:#c3daf9; + border:0px none; + border-top:1px solid #ddecfe; +} +.x-layout-panel-north, .xtheme-gray .x-layout-panel-north{ + background-image: url(images/header.gif); + background-repeat: repeat-x; + color:#FFF; + font:bold 12px verdana, helvetica; + overflow:hidden; + padding:4px; + border:0px none; + border-bottom:2px solid #c3daf9; +} +.xtheme-gray .x-layout-panel-north{ + border-bottom:2px solid #f3f2e7; +} +.x-layout-panel-hd-text{ + font: bold 11px tahoma,verdana,helvetica; + color:#083772; +} +.xtheme-gray .x-layout-panel-hd-text{ + font: bold 11px tahoma,verdana,helvetica; + color:#333333; +} +#preview-body{ + background:white; +} +#main .x-layout-panel-center{ + border-bottom:1px solid #98c0f4; +} +#preview-body { + padding:10px; + overflow:auto; + line-height: 18px; +} +#preview-body p{ + margin:5px; + margin-bottom:10px; +} +.x-toolbar{ + border:0px none; + background-color:#D8E7FB; + border-bottom:1px solid #c3daf9; + padding-bottom:1px; +} +#preview-tb .view-tab,#preview-tb .view-window,#myfeeds-tb .add-feed{ + background-position: 0px 0px; + background-repeat: no-repeat; + padding-left:18px; + padding-top:1px; + width:auto; + display:block; +} +.add-feed { + background-image: url('images/add-feed.gif'); +} +#myfeeds-body{ + overflow:auto; +} +.view-tab{ + background-image: url('images/new_tab.gif'); +} +.view-window{ + background-image: url('images/new_window.gif'); +} +.feed-list{ + padding:1px; +} +.feed-list a{ + border:1px solid white; + display:block; + -moz-outline:none; + margin-bottom:2px; + text-decoration:none; +} +.feed-list a .body{ + padding:5px 2px 5px 22px; + background-image:url(images/rss.gif); + background-position: 2px 5px; + background-repeat: no-repeat; + font:bold 12px tahoma, verdana, helvetica; + color: #2d5593; + display:block; + -moz-outline:none; +} +.feed-list a .desc{ + font:normal 11px tahoma, verdana, helvetica; + color: #222222; +} +.feed-list a:hover, .feed-list .selected{ + text-decoration: none; + border:1px solid #c3daf9; + background-color:#ddecfe; +} +.feed-list .selected{ + background-image: url('images/post-bg.gif'); + border:1px solid #c3daf9; +} +#feed-grid { + overflow:auto; +} +#add-feed{ + background-image: url('images/post-bg.gif'); + border:2px solid #c3daf9; + position:absolute; + z-index:10006; + font-size:8pt; + width:300px; + padding:5px; + overflow:auto; + left:-1000px; + top:-1000px; +} +#add-feed input{ + font:normal 8pt arial,helvetica; +} +#add-feed .eg{ + display:block; + padding:3px; + color:#1e4e8f; +} +#feed-url{ + width:240px; +} +#add-feed-close{ + position:absolute; + right:2px; + top:2px; + cursor:pointer; +} +#add-feed p{ + height:18px; + display:none; +} +#add-feed p.active-msg{ + display:block; +} + +#status { + font-size:8pt; + background-image: url('../../resources/images/default/grid/loading.gif'); + background-repeat: no-repeat; + background-position: left; + padding-left:20px; + padding-top:3px; + height:18px; +} +#status.done { + background-image: url('../../resources/images/default/grid/loading.gif'); +} +.x-layout-collapsed-west{ + background-image:url(images/myfeeds.gif); + background-repeat:no-repeat; + background-position:center; +} +.x-layout-collapsed-east{ + background-image:url(images/suggested.gif); + background-repeat:no-repeat; + background-position:center; +} +#main .x-layout-collapsed-south{ + background-image:url(images/preview.gif); + background-repeat:no-repeat; + background-position:center; +} + +/** Comment List */ +.item-date { + margin: 0; + display: block; + font-size: 10px; + font-weight:normal; + margin-bottom:3px; +} +.item-title{ + font:bold 11px "sans serif", verdana; + color:#444444; +} +.feed-item { + display:block; + margin:5px; + padding:5px; + font-size:11px; + border:1px solid white; + border-bottom:1px solid #dddddd; + color:#222222; + cursor:pointer; + line-height: 18px; + -moz-user-select: none; + -khtml-user-select:none; +} +.selected-article{ + background:#ecf5fe url('images/post-bg.gif') repeat-x; + border:1px solid #c3daf9; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/layout/feed-viewer.html b/thirdpartyjs/extjs/examples/layout/feed-viewer.html new file mode 100644 index 0000000..f077064 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/feed-viewer.html @@ -0,0 +1,39 @@ + + + RSS Feed Viewer 2.0 + + + + + + + + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/thirdpartyjs/extjs/examples/layout/feed-viewer.js b/thirdpartyjs/extjs/examples/layout/feed-viewer.js new file mode 100644 index 0000000..2913664 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/feed-viewer.js @@ -0,0 +1,341 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +var Viewer = function(){ + // a bunch of private variables accessible by member function + var layout, statusPanel, south, preview, previewBody, feedPanel; + var grid, ds, sm; + var addFeed, currentItem, tpl; + var suggested, feeds; + var sfeeds, myfeeds; + var seed = 0; + + // feed clicks bubble up to this universal handler + var feedClicked = function(e){ + // find the "a" element that was clicked + var a = e.getTarget('a'); + if(a){ + e.preventDefault(); + Viewer.loadFeed(a.href); + Viewer.changeActiveFeed(a.id.substr(5)); + } + }; + + return { + init : function(){ + // initialize state manager, we will use cookies + Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); + + // initialize the add feed overlay and buttons + addFeed = Ext.get('add-feed'); + var addBtn = Ext.get('add-btn'); + addBtn.on('click', this.validateFeed, this); + var closeBtn = Ext.get('add-feed-close'); + closeBtn.on('click', addFeed.hide, addFeed, true); + + // create Elements for the feed and suggested lists + feeds = Ext.get('feeds'); suggested = Ext.get('suggested'); + + // delegate clicks on the lists + feeds.on('click', feedClicked); + suggested.on('click', feedClicked); + + //create feed template + tpl = new Ext.DomHelper.Template('{name}
    {desc}
    '); + + // collection of feeds added by the user + myfeeds = {}; + + // some default feeds + sfeeds = { + 'ajaxian':{id:'ajaxian', name: 'Ajaxian', desc: 'Cleaning up the web with Ajax.', url:'http://feeds.feedburner.com/ajaxian'}, + 'yui':{id:'yui', name: 'YUI Blog', desc: 'News and Articles about Designing and Developing with Yahoo! Libraries.', url:'http://feeds.yuiblog.com/YahooUserInterfaceBlog'}, + 'sports':{id:'sports', name: 'Yahoo! Sports', desc: 'Latest news and information for the world of sports.', url:'http://sports.yahoo.com/top/rss.xml'} + }; + + // go through the suggested feeds and add them to the list + for(var id in sfeeds) { + var f = sfeeds[id]; + tpl.append(suggested.dom, f); + } + + // create the main layout + layout = new Ext.BorderLayout(document.body, { + north: { + split:false, + initialSize: 25, + titlebar: false + }, + west: { + split:true, + initialSize: 200, + minSize: 175, + maxSize: 400, + titlebar: true, + collapsible: true, + animate: true, + autoScroll:false, + useShim:true, + cmargins: {top:0,bottom:2,right:2,left:2} + }, + east: { + split:true, + initialSize: 200, + minSize: 175, + maxSize: 400, + titlebar: true, + collapsible: true, + animate: true, + autoScroll:false, + useShim:true, + collapsed:true, + cmargins: {top:0,bottom:2,right:2,left:2} + }, + south: { + split:false, + initialSize: 22, + titlebar: false, + collapsible: false, + animate: false + }, + center: { + titlebar: false, + autoScroll:false, + tabPosition: 'top', + closeOnTab: true, + alwaysShowTabs: true, + resizeTabs: true + } + }); + // tell the layout not to perform layouts until we're done adding everything + layout.beginUpdate(); + layout.add('north', new Ext.ContentPanel('header')); + + // initialize the statusbar + statusPanel = new Ext.ContentPanel('status'); + south = layout.getRegion('south'); + south.add(statusPanel); + + // create the add feed toolbar + var feedtb = new Ext.Toolbar('myfeeds-tb'); + // They can also be referenced by id in or components + feedtb.add( { + id:'add-feed-btn', + icon: 'images/add-feed.gif', // icons can also be specified inline + cls: 'x-btn-text-icon', + text: 'Add feed', + handler: this.showAddFeed.createDelegate(this), + tooltip: 'Add Feed
    Button with tooltip' + }); + + layout.add('west', new Ext.ContentPanel('feeds', {title: 'My Feeds', fitToFrame:true, toolbar: feedtb, resizeEl:'myfeeds-body'})); + layout.add('east', new Ext.ContentPanel('suggested', {title: 'Suggested Feeds', fitToFrame:true})); + + // the inner layout houses the grid panel and the preview panel + var innerLayout = new Ext.BorderLayout('main', { + south: { + split:true, + initialSize: 250, + minSize: 100, + maxSize: 400, + autoScroll:false, + collapsible:true, + titlebar: true, + animate: true, + cmargins: {top:2,bottom:0,right:0,left:0} + }, + center: { + autoScroll:false, + titlebar:false + } + }); + // add the nested layout + feedPanel = new Ext.NestedLayoutPanel(innerLayout, 'View Feed'); + layout.add('center', feedPanel); + + innerLayout.beginUpdate(); + + var lv = innerLayout.add('center', new Ext.ContentPanel('feed-grid', {title: 'Feed Articles', fitToFrame:true})); + this.createView(lv.getEl()); + + // create the preview panel and toolbar + previewBody = Ext.get('preview-body'); + var tb = new Ext.Toolbar('preview-tb'); + + tb.addButton({text: 'View in New Tab',icon: 'images/new_tab.gif',cls: 'x-btn-text-icon', handler: this.showInTab.createDelegate(this)}); + tb.addSeparator(); + tb.addButton({text: 'View in New Window',icon: 'images/new_window.gif',cls: 'x-btn-text-icon', handler: this.showInWindow.createDelegate(this)}); + + preview = new Ext.ContentPanel('preview', {title: "Preview", fitToFrame:true, toolbar: tb, resizeEl:'preview-body'}); + innerLayout.add('south', preview); + + // restore innerLayout state + innerLayout.restoreState(); + innerLayout.endUpdate(true); + + // restore any state information + layout.restoreState(); + layout.endUpdate(); + + this.loadFeed('http://feeds.feedburner.com/ajaxian'); + this.changeActiveFeed('ajaxian'); + }, + + createView : function(el){ + function reformatDate(feedDate){ + var d = new Date(Date.parse(feedDate)); + return d ? d.dateFormat('D M j, Y, g:i a') : ''; + } + + var reader = new Ext.data.XmlReader({record: 'item'}, + ['title', {name:'pubDate', type:'date'}, 'link', 'description'] + ); + + ds = new Ext.data.Store({ + proxy: new Ext.data.HttpProxy({ + url: 'feed-proxy.php' + }), + reader : reader + }); + + ds.on('load', this.onLoad, this); + + var tpl = new Ext.Template( + '
    ' + + '
    {title}
    ' + + '
    {date}
    ' + + '{desc}
    ' + ); + + var view = new Ext.View(el, tpl, {store: ds, singleSelect:true, selectedClass:'selected-article'}); + view.prepareData = function(data){ + return { + title: data.title, + date: reformatDate(data.pubDate), + desc: data.description.replace(/<\/?[^>]+>/gi, '').ellipse(350) + + }; + }; + view.on('click', this.showPost, this); + view.on('dblclick', this.showFullPost, this); + }, + + onLoad : function(){ + if(ds.getCount() < 1){ + preview.setContent(''); + } + statusPanel.getEl().addClass('done'); + statusPanel.setContent('Done.'); + }, + + loadFeed : function(feed){ + statusPanel.setContent('Loading feed ' + feed + '...'); + statusPanel.getEl().removeClass('done'); + //ds.load({'feed': feed}); + //cgsktca + ds.load({params:{'feed': feed}}); + }, + + showPost : function(view, dataIndex){ + var node = ds.getAt(dataIndex); + var title = node.data.title; + var link = node.data.link; + var desc = node.data.description; + + currentItem = { + index: dataIndex, link: link + }; + preview.setTitle(title.ellipse(80)); + previewBody.update(desc); + }, + + showFullPost : function(view, rowIndex){ + var node = ds.getAt(rowIndex); + var link = node.data.link; + var title = node.data.title; + + if(!title){ + title = 'View Post'; + } + var iframe = Ext.DomHelper.append(document.body, + {tag: 'iframe', frameBorder: 0, src: link}); + var panel = new Ext.ContentPanel(iframe, + {title: title, fitToFrame:true, closable:true}); + layout.add('center', panel); + }, + + showInTab : function(){ + if(currentItem){ + this.showFullPost(grid, currentItem.index); + } + }, + + showInWindow : function(){ + if(currentItem){ + window.open(currentItem.link, 'win'); + } + }, + + changeActiveFeed : function(feedId){ + suggested.select('a').removeClass('selected'); + feeds.select('a').removeClass('selected'); + Ext.fly('feed-'+feedId).addClass('selected'); + var feed = sfeeds[feedId] || myfeeds[feedId]; + feedPanel.setTitle('View Feed (' + feed.name.ellipse(16) + ')'); + }, + + showAddFeed : function(btn){ + Ext.get('feed-url').dom.value = ''; + Ext.get('add-title').radioClass('active-msg'); + var el = Ext.get('myfeeds-tb'); + + addFeed.alignTo('myfeeds-tb', 'tl', [3,3]); + addFeed.show(); + }, + + validateFeed : function(){ + var url = Ext.get('feed-url').dom.value; + Ext.get('loading-feed').radioClass('active-msg'); + var success = function(o){ + try{ + var xml = o.responseXML; + var channel = xml.getElementsByTagName('channel')[0]; + var titleEl = channel.getElementsByTagName('title')[0]; + var descEl = channel.getElementsByTagName('description')[0]; + var name = titleEl.firstChild.nodeValue; + var desc = (descEl.firstChild ? descEl.firstChild.nodeValue : ''); + var id = ++seed; + myfeeds[id] = {id:id, name:name, desc:desc, url:url}; + tpl.append('myfeeds-body', myfeeds[id]); + + addFeed.hide(); + + + ds.loadData(xml); + this.changeActiveFeed(id); + + }catch(e){ + Ext.get('invalid-feed').radioClass('active-msg'); + } + }.createDelegate(this); + var failure = function(o){ + Ext.get('invalid-feed').radioClass('active-msg'); + }; + Ext.lib.Ajax.request('POST', 'feed-proxy.php', {success:success, failure:failure}, 'feed='+encodeURIComponent(url)); + } + }; +}(); +Ext.onReady(Viewer.init, Viewer); + +String.prototype.ellipse = function(maxLength){ + if(this.length > maxLength){ + return this.substr(0, maxLength-3) + '...'; + } + return this; +}; + diff --git a/thirdpartyjs/extjs/examples/layout/images/Thumbs.db b/thirdpartyjs/extjs/examples/layout/images/Thumbs.db new file mode 100644 index 0000000..3a8602b --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/Thumbs.db diff --git a/thirdpartyjs/extjs/examples/layout/images/add-feed.gif b/thirdpartyjs/extjs/examples/layout/images/add-feed.gif new file mode 100644 index 0000000..7b47c9a --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/add-feed.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/article.gif b/thirdpartyjs/extjs/examples/layout/images/article.gif new file mode 100644 index 0000000..abcebe5 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/article.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/bullet.gif b/thirdpartyjs/extjs/examples/layout/images/bullet.gif new file mode 100644 index 0000000..8b79341 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/bullet.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/cancel.gif b/thirdpartyjs/extjs/examples/layout/images/cancel.gif new file mode 100644 index 0000000..cb73491 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/cancel.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/comment-bg.gif b/thirdpartyjs/extjs/examples/layout/images/comment-bg.gif new file mode 100644 index 0000000..b1b0416 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/comment-bg.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/feed-item.gif b/thirdpartyjs/extjs/examples/layout/images/feed-item.gif new file mode 100644 index 0000000..abcebe5 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/feed-item.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/grid-hrow.gif b/thirdpartyjs/extjs/examples/layout/images/grid-hrow.gif new file mode 100644 index 0000000..a263abb --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/grid-hrow.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/header-bar.gif b/thirdpartyjs/extjs/examples/layout/images/header-bar.gif new file mode 100644 index 0000000..8ee7a0b --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/header-bar.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/header.gif b/thirdpartyjs/extjs/examples/layout/images/header.gif new file mode 100644 index 0000000..83cc129 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/header.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/myfeeds.gif b/thirdpartyjs/extjs/examples/layout/images/myfeeds.gif new file mode 100644 index 0000000..d41d32a --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/myfeeds.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/new_tab.gif b/thirdpartyjs/extjs/examples/layout/images/new_tab.gif new file mode 100644 index 0000000..38331fb --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/new_tab.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/new_window.gif b/thirdpartyjs/extjs/examples/layout/images/new_window.gif new file mode 100644 index 0000000..f388354 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/new_window.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/post-bg.gif b/thirdpartyjs/extjs/examples/layout/images/post-bg.gif new file mode 100644 index 0000000..362d65b --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/post-bg.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/preview.gif b/thirdpartyjs/extjs/examples/layout/images/preview.gif new file mode 100644 index 0000000..31e3413 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/preview.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/rss.gif b/thirdpartyjs/extjs/examples/layout/images/rss.gif new file mode 100644 index 0000000..e41d0f7 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/rss.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/signin.gif b/thirdpartyjs/extjs/examples/layout/images/signin.gif new file mode 100644 index 0000000..dfdda0c --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/signin.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/signout.gif b/thirdpartyjs/extjs/examples/layout/images/signout.gif new file mode 100644 index 0000000..f4194c1 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/signout.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/suggested.gif b/thirdpartyjs/extjs/examples/layout/images/suggested.gif new file mode 100644 index 0000000..f73b8a7 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/suggested.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/tab-close-on.gif b/thirdpartyjs/extjs/examples/layout/images/tab-close-on.gif new file mode 100644 index 0000000..eacea39 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/tab-close-on.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/tab-close.gif b/thirdpartyjs/extjs/examples/layout/images/tab-close.gif new file mode 100644 index 0000000..45db61e --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/tab-close.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/toolbar.gif b/thirdpartyjs/extjs/examples/layout/images/toolbar.gif new file mode 100644 index 0000000..8280d66 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/toolbar.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/wait.gif b/thirdpartyjs/extjs/examples/layout/images/wait.gif new file mode 100644 index 0000000..471c1a4 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/wait.gif diff --git a/thirdpartyjs/extjs/examples/layout/images/warning.gif b/thirdpartyjs/extjs/examples/layout/images/warning.gif new file mode 100644 index 0000000..806d4bc --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/images/warning.gif diff --git a/thirdpartyjs/extjs/examples/layout/nested.html b/thirdpartyjs/extjs/examples/layout/nested.html new file mode 100644 index 0000000..56991b1 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/nested.html @@ -0,0 +1,126 @@ + + + Complex Layout + + + + + + + + + + +
    + +
    +
    +

    This layout uses the gray theme. To make a layout use the gray theme, add the class .xtheme-gray to the body or a container element.

    +

    Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

    +

    Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

    +

    Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

    +

    Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

    +
    +
    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

    +

    Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

    +

    Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/layout/simple.html b/thirdpartyjs/extjs/examples/layout/simple.html new file mode 100644 index 0000000..203c108 --- /dev/null +++ b/thirdpartyjs/extjs/examples/layout/simple.html @@ -0,0 +1,129 @@ + + + Simple Layout + + + + + + + + + +
    + + +
    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

    +

    Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

    +

    Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

    +

    Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras imperdiet felis id velit. Ut non quam at sem dictum ullamcorper. Vestibulum pharetra purus sed pede. Aliquam ultrices, nunc in varius mattis, felis justo pretium magna, eget laoreet justo eros id eros. Aliquam elementum diam fringilla nulla. Praesent laoreet sapien vel metus. Cras tempus, sapien condimentum dictum dapibus, lorem augue fringilla orci, ut tincidunt eros nisi eget turpis. Nullam nunc nunc, eleifend et, dictum et, pharetra a, neque. Ut feugiat. Aliquam erat volutpat. Donec pretium odio nec felis. Phasellus sagittis lacus eget sapien. Donec est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

    +

    Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

    +

    Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

    +

    Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

    +

    Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

    +

    Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

    +

    Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

    +

    Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras imperdiet felis id velit. Ut non quam at sem dictum ullamcorper. Vestibulum pharetra purus sed pede. Aliquam ultrices, nunc in varius mattis, felis justo pretium magna, eget laoreet justo eros id eros. Aliquam elementum diam fringilla nulla. Praesent laoreet sapien vel metus. Cras tempus, sapien condimentum dictum dapibus, lorem augue fringilla orci, ut tincidunt eros nisi eget turpis. Nullam nunc nunc, eleifend et, dictum et, pharetra a, neque. Ut feugiat. Aliquam erat volutpat. Donec pretium odio nec felis. Phasellus sagittis lacus eget sapien. Donec est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

    +

    Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

    +

    Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

    +

    Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

    +

    Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

    +

    Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

    +

    Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

    +

    Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras imperdiet felis id velit. Ut non quam at sem dictum ullamcorper. Vestibulum pharetra purus sed pede. Aliquam ultrices, nunc in varius mattis, felis justo pretium magna, eget laoreet justo eros id eros. Aliquam elementum diam fringilla nulla. Praesent laoreet sapien vel metus. Cras tempus, sapien condimentum dictum dapibus, lorem augue fringilla orci, ut tincidunt eros nisi eget turpis. Nullam nunc nunc, eleifend et, dictum et, pharetra a, neque. Ut feugiat. Aliquam erat volutpat. Donec pretium odio nec felis. Phasellus sagittis lacus eget sapien. Donec est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

    +

    Vestibulum semper. Nullam non odio. Aliquam quam. Mauris eu lectus non nunc auctor ullamcorper. Sed tincidunt molestie enim. Phasellus lobortis justo sit amet quam. Duis nulla erat, varius a, cursus in, tempor sollicitudin, mauris. Aliquam mi velit, consectetuer mattis, consequat tristique, pulvinar ac, nisl. Aliquam mattis vehicula elit. Proin quis leo sed tellus scelerisque molestie. Quisque luctus. Integer mattis. Donec id augue sed leo aliquam egestas. Quisque in sem. Donec dictum enim in dolor. Praesent non erat. Nulla ultrices vestibulum quam.

    +

    Duis hendrerit, est vel lobortis sagittis, tortor erat scelerisque tortor, sed pellentesque sem enim id metus. Maecenas at pede. Nulla velit libero, dictum at, mattis quis, sagittis vel, ante. Phasellus faucibus rutrum dui. Cras mauris elit, bibendum at, feugiat non, porta id, neque. Nulla et felis nec odio mollis vehicula. Donec elementum tincidunt mauris. Duis vel dui. Fusce iaculis enim ac nulla. In risus.

    +

    Donec gravida. Donec et enim. Morbi sollicitudin, lacus a facilisis pulvinar, odio turpis dapibus elit, in tincidunt turpis felis nec libero. Nam vestibulum tempus ipsum. In hac habitasse platea dictumst. Nulla facilisi. Donec semper ligula. Donec commodo tortor in quam. Etiam massa. Ut tempus ligula eget tellus. Curabitur id velit ut velit varius commodo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla facilisi. Fusce ornare pellentesque libero. Nunc rhoncus. Suspendisse potenti. Ut consequat, leo eu accumsan vehicula, justo sem lobortis elit, ac sollicitudin ipsum neque nec ante.

    +

    Aliquam elementum mauris id sem. Vivamus varius, est ut nonummy consectetuer, nulla quam bibendum velit, ac gravida nisi felis sit amet urna. Aliquam nec risus. Maecenas lacinia purus ut velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse sit amet dui vitae lacus fermentum sodales. Donec varius dapibus nisl. Praesent at velit id risus convallis bibendum. Aliquam felis nibh, rutrum nec, blandit non, mattis sit amet, magna. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam varius dignissim nibh. Quisque id orci ac ante hendrerit molestie. Aliquam malesuada enim non neque.

    +
    + +
    + + diff --git a/thirdpartyjs/extjs/examples/lib.css b/thirdpartyjs/extjs/examples/lib.css new file mode 100644 index 0000000..3f79f25 --- /dev/null +++ b/thirdpartyjs/extjs/examples/lib.css @@ -0,0 +1,20 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +#lib-bar { + position:absolute; + top:0; + right:0; + z-index:100; +} +#lib-bar-inner { + padding:4px; +} +#lib-bar * { + font-size:11px; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/locale/PagingMemoryProxy.js b/thirdpartyjs/extjs/examples/locale/PagingMemoryProxy.js new file mode 100644 index 0000000..2c20ca9 --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/PagingMemoryProxy.js @@ -0,0 +1,87 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +/* Fix for Opera, which does not seem to include the map function on Array's */ +if(!Array.prototype.map){ + Array.prototype.map = function(fun){ + var len = this.length; + if(typeof fun != "function"){ + throw new TypeError(); + } + var res = new Array(len); + var thisp = arguments[1]; + for(var i = 0; i < len; i++){ + if(i in this){ + res[i] = fun.call(thisp, this[i], i, this); + } + } + return res; + }; +} + +/* Paging Memory Proxy, allows to use paging grid with in memory dataset */ +Ext.data.PagingMemoryProxy = function(data) { + Ext.data.PagingMemoryProxy.superclass.constructor.call(this); + this.data = data; +}; + +Ext.extend(Ext.data.PagingMemoryProxy, Ext.data.MemoryProxy, { + load : function(params, reader, callback, scope, arg) { + params = params || {}; + var result; + try { + result = reader.readRecords(this.data); + }catch(e){ + this.fireEvent("loadexception", this, arg, null, e); + callback.call(scope, null, arg, false); + return; + } + + // filtering + if (params.filter!==undefined) { + result.records = result.records.filter(function(el){ + if (typeof(el)=="object"){ + var att = params.filterCol || 0; + return String(el.data[att]).match(params.filter)?true:false; + } else { + return String(el).match(params.filter)?true:false; + } + }); + result.totalRecords = result.records.length; + } + + // sorting + if (params.sort!==undefined) { + // use integer as params.sort to specify column, since arrays are not named + // params.sort=0; would also match a array without columns + var dir = String(params.dir).toUpperCase() == "DESC" ? -1 : 1; + var fn = function(r1, r2){ + return r1 < r2; + }; + result.records.sort(function(a, b) { + var v = 0; + if (typeof(a)=="object"){ + v = fn(a.data[params.sort], b.data[params.sort]) * dir; + } else { + v = fn(a, b) * dir; + } + if (v==0) { + v = (a.index < b.index ? -1 : 1); + } + return v; + }); + } + + // paging (use undefined cause start can also be 0 (thus false)) + if (params.start!==undefined && params.limit!==undefined) { + result.records = result.records.slice(params.start, params.start+params.limit); + } + + callback.call(scope, result, arg, true); + } +}); diff --git a/thirdpartyjs/extjs/examples/locale/create_languages_js.py b/thirdpartyjs/extjs/examples/locale/create_languages_js.py new file mode 100644 index 0000000..031abfb --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/create_languages_js.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python + +import sys, os, re + +try: + import chardet +except ImportError: + print "You need universal encoding detector for this script" + print " http://chardet.feedparser.org or apt-get install python-chardet" + sys.exit() + +regexp_language = re.compile("\* +(.+) +translation", re.IGNORECASE) +js_template = """/* This file is automaticly generated by create_language_js.py */ + +// some data used in the examples +Ext.namespace('Ext.exampledata'); + +// TODO: complete and sort the list +Ext.exampledata.languages = [ +%s +]; +""" + +def lang_name(file): + language = os.path.basename(file) + m = regexp_language.search(open(file).read(512)) + if m: + language = m.groups()[0] + return language + +def print_locale(lang_code): + print lang_code, + sys.stdout.flush() + return True + +def main(): + base_dir = "../../src/locale" + base_file = lambda f: os.path.join(base_dir, f) + try: + locales = os.listdir(base_dir) + except IOError: + print "Cannot find source locale directory: %s ... exiting" % base_dir + sys.exit() + + valid_file = lambda e: e.endswith(".js") and e.startswith("ext-lang-") + char_set = lambda f: chardet.detect(open(f).read())['encoding'] + lang_code = lambda f: f[9:f.rfind(".js")] + info_set = lambda f: (lang_name(base_file(f)), (lang_code(f), char_set(base_file(f)))) + locales = dict(info_set(file) for file in locales if valid_file(file) and print_locale(lang_code(file))) + print "... done" + locale_strarray = ',\n'.join(["\t[%r, %r, %r]" % (code, name, charset) \ + for name, (code, charset) in sorted(locales.items())]) + # create languages.js + open("languages.js", "w").write(js_template % locale_strarray) + print "saved %d languages to languages.js" % len(locales) + +if __name__=="__main__": + main() diff --git a/thirdpartyjs/extjs/examples/locale/dutch-form.html b/thirdpartyjs/extjs/examples/locale/dutch-form.html new file mode 100644 index 0000000..84859ad --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/dutch-form.html @@ -0,0 +1,41 @@ + + + + + Dutch Form + + + + + + + + + + + + + + + + +

    Localization with Ext

    +

    The js is not minified so it is readable. See dutch-form.js.

    + +

    + This demonstrates a dutch location of Ext using the form component. It includes the localization + file "ext-lang-nl.js" from the source/locale folder of the Ext download. +

    + +
    +
    +
    +

    Persoons Gegevens

    +
    +
    +
    +
    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/locale/dutch-form.js b/thirdpartyjs/extjs/examples/locale/dutch-form.js new file mode 100644 index 0000000..6103253 --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/dutch-form.js @@ -0,0 +1,76 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + + Ext.QuickTips.init(); + + // turn on validation errors beside the field globally + Ext.form.Field.prototype.msgTarget = 'side'; + + var fs = new Ext.form.Form({ + labelAlign: 'right', + labelWidth: 95 + }); + + fs.fieldset( + {legend:'Contact Informatie'}, + new Ext.form.TextField({ + fieldLabel: 'Voornaam', + name: 'first', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Achternaam', + name: 'last', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'Bedrijf', + name: 'company', + width:190 + }), + + new Ext.form.TextField({ + fieldLabel: 'E-mail', + name: 'email', + vtype:'email', + width:190 + }), + + new Ext.form.ComboBox({ + fieldLabel: 'Provincie', + hiddenName: 'state', + store: new Ext.data.SimpleStore({ + fields: ['province'], + data : Ext.exampledata.dutch_provinces // from dutch-provinces.js + }), + displayField: 'province', + typeAhead: true, + mode: 'local', + triggerAction: 'all', + emptyText:'Kies uw provincie...', + selectOnFocus:true, + width:190 + }), + + new Ext.form.DateField({ + fieldLabel: 'Geboorte datum', + name: 'dob', + width:190, + allowBlank:false + }) + ); + + fs.addButton('Opslaan'); + fs.addButton('Annuleren'); + + fs.render('form-ct'); +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/locale/dutch-provinces.js b/thirdpartyjs/extjs/examples/locale/dutch-provinces.js new file mode 100644 index 0000000..6f31ff1 --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/dutch-provinces.js @@ -0,0 +1,25 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +// some data used in the examples +Ext.namespace('Ext.exampledata'); + +Ext.exampledata.dutch_provinces = [ + ['Drenthe'], + ['Flevoland'], + ['Friesland'], + ['Gelderland'], + ['Groningen'], + ['Limburg'], + ['Noord-Brabant'], + ['Noord-Holland'], + ['Overijsel'], + ['Utrecht'], + ['Zeeland'], + ['Zuid-Holland'] + ]; diff --git a/thirdpartyjs/extjs/examples/locale/languages.js b/thirdpartyjs/extjs/examples/locale/languages.js new file mode 100644 index 0000000..f1af424 --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/languages.js @@ -0,0 +1,43 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +/* This file is automaticly generated by create_language_js.py */ + +// some data used in the examples +Ext.namespace('Ext.exampledata'); + +// TODO: complete and sort the list +Ext.exampledata.languages = [ + ['hr', 'Croatian', 'utf-8'], + ['cs', 'Czech', 'utf-8'], + ['da', 'Danish', 'utf-8'], + ['nl', 'Dutch', 'ascii'], + ['en', 'English', 'ascii'], + ['fr_CA', 'France (Canadian)', 'UTF-8'], + ['de', 'German', 'utf-8'], + ['el_GR', 'Greek', 'utf-8'], + ['hu', 'Hungarian', 'utf-8'], + ['it', 'Italian', 'ascii'], + ['ja', 'Japanese', 'utf-8'], + ['lv', 'Latvian', 'utf-8'], + ['mk', 'Macedonia', 'utf-8'], + ['no', 'Norwegian', 'utf-8'], + ['pl', 'Polish', 'utf-8'], + ['pt_br', 'Portuguese/Brazil', 'utf-8'], + ['ro', 'Romanian', 'utf-8'], + ['ru', 'Russian', 'utf-8'], + ['sr_RS', 'Serbian Cyrillic', 'UTF-8'], + ['zh_CN', 'Simplified Chinese', 'UTF-8'], + ['sk', 'Slovak', 'utf-8'], + ['sl', 'Slovenian', 'utf-8'], + ['sp', 'Spanish/Latin American', 'utf-8'], + ['sv_se', 'Swedish', 'utf-8'], + ['zh_TW', 'Traditional Chinese', 'UTF-8'], + ['tr', 'Turkish', 'utf-8'], + ['vn', 'Vietnamese', 'UTF-8'] +]; diff --git a/thirdpartyjs/extjs/examples/locale/multi-lang.html b/thirdpartyjs/extjs/examples/locale/multi-lang.html new file mode 100644 index 0000000..6aee800 --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/multi-lang.html @@ -0,0 +1,79 @@ + + + + +Multiple Languages + + + + + + + + + + + + + + + + +

    Localization with Extjs

    +

    The js is not minified so it is readable. See multi-lang.js.

    + +

    +This demonstrates multiple language with some of the Ext components.
    +Select a language from the combobox below (default is english) and try out the components in different languages. +

    + +
    + Language selector:  + +
    +
    +

    Email Field

    +

    +
    +
    +
    +

    Localized Email Field

    +
    +
    +
    +
    +
    +

    Datepicker

    +
    +
    +
    +
    +

    Localized Datepicker

    +
    +
    +
    +
    +
    +

    Grid

    +
    +
    +
    +
    +

    Localized Grid

    +
    +
    +
    +
    +
    +
    + + diff --git a/thirdpartyjs/extjs/examples/locale/multi-lang.js b/thirdpartyjs/extjs/examples/locale/multi-lang.js new file mode 100644 index 0000000..3e1d927 --- /dev/null +++ b/thirdpartyjs/extjs/examples/locale/multi-lang.js @@ -0,0 +1,124 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +/* multi-lang.js extscript */ +Ext.onReady(function(){ + Ext.QuickTips.init(); + Ext.form.Field.prototype.msgTarget = 'side'; + + /* Language chooser combobox */ + var store = new Ext.data.SimpleStore({ + fields: ['code', 'language', 'charset'], + data : Ext.exampledata.languages // from languages.js + }); + var combo = new Ext.form.ComboBox({ + store: store, + displayField:'language', + typeAhead: true, + mode: 'local', + triggerAction: 'all', + emptyText:'Select a language...', + selectOnFocus:true, + onSelect: function(record) { + window.location.search = Ext.urlEncode({"lang":record.get("code"),"charset":record.get("charset")}); + } + }); + combo.applyTo('languages'); + + // get the selected language code parameter from url (if exists) + var params = Ext.urlDecode(window.location.search.substring(1)); + if (params.lang) { + // check if there's really a language with that language code + record = store.data.find(function(item, key) { + if (item.data.code==params.lang){ + return true; + } + }); + // if language was found in store assign it as current value in combobox + if (record) { + combo.setValue(record.data.language); + } + } + + /* Email field */ + var efield = new Ext.form.Form({ labelWidth: 75 }); + efield.add(new Ext.form.TextField({ + fieldLabel: 'Email', + name: 'email', + vtype: 'email', + width: 175 + })); + efield.render('form-ct'); + + /* Datepicker */ + var efield = new Ext.form.Form({ labelWidth: 75 }); + efield.add(new Ext.form.DateField({ + fieldLabel: 'Date', + name: 'date', + width: 175 + })); + efield.render('form-ct2'); +}); + +Ext.onReady(function(){ + // shorthand alias + var fm = Ext.form, Ed = Ext.grid.GridEditor; + // the column model has information about grid columns + // dataIndex maps the column to the specific data field in + // the data store (created below) + var cm = new Ext.grid.ColumnModel([{ + header: "Months of the year", + dataIndex: 'month', + editor: new Ed(new fm.TextField({ + allowBlank: false + })), + width: 240 + }]); + + // by default columns are sortable + cm.defaultSortable = true; + + var monthArray = Date.monthNames.map(function (e) { return [e]; }); + + // create the Data Store + var ds = new Ext.data.Store({ + proxy: new Ext.data.PagingMemoryProxy(monthArray), + reader: new Ext.data.ArrayReader({}, [ + {name: 'month'} + ]) + }); + + // create the editor grid + var grid = new Ext.grid.EditorGrid('editor-grid', { + ds: ds, + cm: cm, + selModel: new Ext.grid.RowSelectionModel(), + enableColLock:false + }); + + var layout = Ext.BorderLayout.create({ + center: { + margins:{left:3,top:3,right:3,bottom:3}, + panels: [new Ext.GridPanel(grid)] + } + }, 'grid-panel'); + + // render it + grid.render(); + + var gridFoot = grid.getView().getFooterPanel(true); + + // add a paging toolbar to the grid's footer + var paging = new Ext.PagingToolbar(gridFoot, ds, { + pageSize: 6, + displayInfo: false + }); + + // trigger the data store load + ds.load({params:{start:0, limit:6}}); +}); diff --git a/thirdpartyjs/extjs/examples/menu/list-items.gif b/thirdpartyjs/extjs/examples/menu/list-items.gif new file mode 100644 index 0000000..ecbdfc9 --- /dev/null +++ b/thirdpartyjs/extjs/examples/menu/list-items.gif diff --git a/thirdpartyjs/extjs/examples/menu/menu-show.gif b/thirdpartyjs/extjs/examples/menu/menu-show.gif new file mode 100644 index 0000000..ebfefff --- /dev/null +++ b/thirdpartyjs/extjs/examples/menu/menu-show.gif diff --git a/thirdpartyjs/extjs/examples/menu/menus.css b/thirdpartyjs/extjs/examples/menu/menus.css new file mode 100644 index 0000000..c7f5a3e --- /dev/null +++ b/thirdpartyjs/extjs/examples/menu/menus.css @@ -0,0 +1,17 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +#container { + width:600px; + height:300px; + border:3px solid #c3daf9; +} + +.calendar .x-menu-item-icon { + background-image:url(../../resources/images/default/shared/calendar.gif); +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/menu/menus.html b/thirdpartyjs/extjs/examples/menu/menus.html new file mode 100644 index 0000000..c5e3318 --- /dev/null +++ b/thirdpartyjs/extjs/examples/menu/menus.html @@ -0,0 +1,45 @@ + + + + +Toolbar with Menus + + + + + + + + + + + + + + + +

    Toolbar with Menus

    +

    The js is not minified so it is readable. See menus.js.

    + +
    +
    +
    + +




    + + diff --git a/thirdpartyjs/extjs/examples/menu/menus.js b/thirdpartyjs/extjs/examples/menu/menus.js new file mode 100644 index 0000000..5825270 --- /dev/null +++ b/thirdpartyjs/extjs/examples/menu/menus.js @@ -0,0 +1,174 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + Ext.QuickTips.init(); + + // Menus can be prebuilt and passed by reference + var dateMenu = new Ext.menu.DateMenu({ + handler : function(dp, date){ + Ext.example.msg('Date Selected', 'You chose {0}.', date.format('M j, Y')); + } + }); + + // Menus can be prebuilt and passed by reference + var colorMenu = new Ext.menu.ColorMenu({ + handler : function(cm, color){ + Ext.example.msg('Color Selected', 'You chose {0}.', color); + } + }); + + var menu = new Ext.menu.Menu({ + id: 'mainMenu', + items: [ + new Ext.menu.CheckItem({ + text: 'I like Ext', + checked: true, + checkHandler: onItemCheck + }), + new Ext.menu.CheckItem({ + text: 'Ext for jQuery', + checked: true, + checkHandler: onItemCheck + }), + new Ext.menu.CheckItem({ + text: 'I donated!', + checked:false, + checkHandler: onItemCheck + }), '-', { + text: 'Radio Options', + menu: { // <-- submenu by nested config object + items: [ + // stick any markup in a menu + 'Choose a Theme', + new Ext.menu.CheckItem({ + text: 'Aero Glass', + checked: true, + group: 'theme', + checkHandler: onItemCheck + }), + new Ext.menu.CheckItem({ + text: 'Vista Black', + group: 'theme', + checkHandler: onItemCheck + }), + new Ext.menu.CheckItem({ + text: 'Gray Theme', + group: 'theme', + checkHandler: onItemCheck + }), + new Ext.menu.CheckItem({ + text: 'Default Theme', + group: 'theme', + checkHandler: onItemCheck + }) + ] + } + },{ + text: 'Choose a Date', + cls: 'calendar', + menu: dateMenu // <-- submenu by reference + },{ + text: 'Choose a Color', + menu: colorMenu // <-- submenu by reference + } + ] + }); + + var tb = new Ext.Toolbar('toolbar'); + tb.add({ + cls: 'x-btn-text-icon bmenu', // icon and text class + text:'Button w/ Menu', + menu: menu // assign menu by instance + }, + new Ext.Toolbar.MenuButton({ + text: 'Split Button', + handler: onButtonClick, + tooltip: {text:'This is a QuickTip with autoHide set to false and a title', title:'Tip Title', autoHide:false}, + cls: 'x-btn-text-icon blist', + // Menus can be built/referenced by using nested menu config objects + menu : {items: [ + {text: 'Bold', handler: onItemClick}, + {text: 'Italic', handler: onItemClick}, + {text: 'Underline', handler: onItemClick}, '-',{ + text: 'Pick a Color', handler: onItemClick, menu: { + items: [ + new Ext.menu.ColorItem({selectHandler:function(cp, color){ + Ext.example.msg('Color Selected', 'You chose {0}.', color); + }}), '-', + {text:'More Colors...', handler:onItemClick} + ] + }}, + {text: 'Extellent!', handler: onItemClick} + ]} + }), '-', { + text: 'Toggle Me', + enableToggle: true, + toggleHandler: onItemToggle, + pressed: true + }); + + menu.addSeparator(); + // Menus have a rich api for + // adding and removing elements dynamically + var item = menu.add({ + text: 'Dynamically added Item' + }); + // items support full Observable API + item.on('click', onItemClick); + + // items can easily be looked up + menu.add({ + text: 'Disabled Item', + id: 'disableMe' // <-- Items can also have an id for easy lookup + // disabled: true <-- allowed but for sake of example we use long way below + }); + // access items by id or index + menu.items.get('disableMe').disable(); + + // They can also be referenced by id in or components + tb.add('-', { + icon: 'list-items.gif', // icons can also be specified inline + cls: 'x-btn-icon', + tooltip: 'Quick Tips
    Icon only button with tooltip' + }, '-'); + + // add a combobox to the toolbar + var store = new Ext.data.SimpleStore({ + fields: ['abbr', 'state'], + data : Ext.exampledata.states // from states.js + }); + var combo = new Ext.form.ComboBox({ + store: store, + displayField:'state', + typeAhead: true, + mode: 'local', + triggerAction: 'all', + emptyText:'Select a state...', + selectOnFocus:true, + width:135 + }); + tb.addField(combo); + + // functions to display feedback + function onButtonClick(btn){ + Ext.example.msg('Button Click','You clicked the "{0}" button.', btn.text); + } + + function onItemClick(item){ + Ext.example.msg('Menu Click', 'You clicked the "{0}" menu item.', item.text); + } + + function onItemCheck(item, checked){ + Ext.example.msg('Item Check', 'You {1} the "{0}" menu item.', item.text, checked ? 'checked' : 'unchecked'); + } + + function onItemToggle(item, pressed){ + Ext.example.msg('Button Toggled', 'Button "{0}" was toggled to {1}.', item.text, pressed); + } +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/resizable/basic.css b/thirdpartyjs/extjs/examples/resizable/basic.css new file mode 100644 index 0000000..6e5b51f --- /dev/null +++ b/thirdpartyjs/extjs/examples/resizable/basic.css @@ -0,0 +1,40 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +#basic, #animated { + border:1px solid #c3daf9; + color:#1e4e8f; + font:bold 14px tahoma,verdana,helvetica; + text-align:center; + padding-top:20px; + width:200px; + height:80px; +} +#snap { + border:1px solid #c3daf9; + overflow:hidden; +} +#custom { + cursor:move; +} +#custom-rzwrap{ + z-index: 10000; +} +#custom-rzwrap .x-resizable-handle{ + width:11px; + height:11px; + background:transparent url(../../resources/images/sizer/square.gif) no-repeat; + margin:0px; + line-height:11px; +} +#custom-rzwrap .x-resizable-handle-east, #custom-rzwrap .x-resizable-handle-west{ + top:45%; +} +#custom-rzwrap .x-resizable-handle-north, #custom-rzwrap .x-resizable-handle-south{ + left:45%; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/resizable/basic.html b/thirdpartyjs/extjs/examples/resizable/basic.html new file mode 100644 index 0000000..74912c8 --- /dev/null +++ b/thirdpartyjs/extjs/examples/resizable/basic.html @@ -0,0 +1,180 @@ + + + +Resizable Examples + + + + + + + + + + + + + +

    Resizable Examples

    +

    These examples show how to apply a floating (default) and pinned Resizable component to a standard element.

    +

    Note that the js is not minified so it is readable. See basic.js for the full source code.

    + +

    + Basic Example
    + This is a basic as you get. To resize the box, position your mouse anywhere near the bottom, + right or border right edge of the box. This example uses the default "floating" handles. +

    +
    Resize Me!
    +
    var basic = new Ext.Resizable('basic', {
    +        width: 200,
    +        height: 100,
    +        minWidth:100,
    +        minHeight:50
    +});
    +
    +

    + Wrapped Elements
    + Some elements such as images and textareas don't allow child elements. In the past, you had + to wrap these elements and set up a Resizable with resize child. As of yui-ext .33 RC2, Resizable will + wrap the element, calculate adjustments for borders/padding and offset the handles for you. All you have to + do is set "wrap:true". The manual way of specifying a "resizeChild" is still supported as well. +

    + Pinned Handles
    + Notice this example has the resize handles "pinned". This is done by setting "pinned:true". +

    + Dynamic Sizing
    + If you don't like the proxy resizing, you can also turn on dynamic sizing. Just set "dynamic:true". +

    +

    + Here's a textarea that is wrapped, has pinned handles and has dynamic sizing turned on. +

    +

    +And look how simple the code is, even my grandma could write it. +
    var dwrapped = new Ext.Resizable('dwrapped', {
    +    wrap:true,
    +    pinned:true,
    +    width:450,
    +    height:150,
    +    minWidth:200,
    +    minHeight: 50,
    +    dynamic: true
    +});
    +
    +

    +Preserve Ratio
    + For some things like images, you will probably want to preserve the ratio of width to height. Just set preserveRatio:true. +

    + +
    var wrapped = new Ext.Resizable('wrapped', {
    +    wrap:true,
    +    pinned:true,
    +    minWidth:50,
    +    minHeight: 50,
    +    preserveRatio: true
    +});
    +
    +

    +Transparent Handles
    + If you just want the element to be resizable without any fancy handles, set transparent to true. +

    + +
    var transparent = new Ext.Resizable('transparent', {
    +    wrap:true,
    +    minWidth:50,
    +    minHeight: 50,
    +    preserveRatio: true,
    +    transparent:true
    +});
    +
    +

    + Customizable Handles
    + Resizable elements are resizable 8 ways. 8 way resizing for a static positioned element will cause the element to be positioned relative and taken out of the document flow. For resizing which adjusts the + x and y of the element, the element should be positioned absolute. You can also control which handles are displayed by setting the "handles" attribute. + The handles are styled using CSS so they can be customized to look however you would like them to. +

    +

    + This image has 8 way resizing, custom handles, is draggable and 8 way preserved ratio (that wasn't easy!).
    + Double click anywhere on the image to hide it when you are done. +

    + +
    +
    var custom = new Ext.Resizable('custom', {
    +    wrap:true,
    +    pinned:true,
    +    minWidth:50,
    +    minHeight: 50,
    +    preserveRatio: true,
    +    dynamic:true,
    +    handles: 'all', // shorthand for 'n s e w ne nw se sw'
    +    draggable:true
    +});
    +
    +

    + Snapping
    + Resizable also supports basic snapping in increments. +

    +
    +
    var snap = new Ext.Resizable('snap', {
    +    pinned:true,
    +    width:250,
    +    height:100,
    +    handles: 'e',
    +    widthIncrement:50,
    +    minWidth: 50,
    +    dynamic: true
    +});
    +
    +Warning: Snapping and preserveRatio conflict and can not be used together. +
    +

    + Animated Transitions
    + Resize operations can also be animated. Animations support configurable easing and duration. + Here's a very basic clone of the first element, but with animation turned on. I used a "backIn" + easing and made it a little slower than default. +

    +
    Animate Me!
    +
    var animated = new Ext.Resizable('animated', {
    +    width: 200,
    +    height: 100,
    +    minWidth:100,
    +    minHeight:50,
    +    animate:true,
    +    easing: 'backIn',
    +    duration:.6
    +});
    +Warning: for obvious reasons animate and dynamic resizing can not be used together. + + diff --git a/thirdpartyjs/extjs/examples/resizable/basic.js b/thirdpartyjs/extjs/examples/resizable/basic.js new file mode 100644 index 0000000..7adc548 --- /dev/null +++ b/thirdpartyjs/extjs/examples/resizable/basic.js @@ -0,0 +1,92 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +var ResizableExample = { + init : function(){ + + var basic = new Ext.Resizable('basic', { + width: 200, + height: 100, + minWidth:100, + minHeight:50 + }); + + var animated = new Ext.Resizable('animated', { + width: 200, + pinned: true, + height: 100, + minWidth:100, + minHeight:50, + animate:true, + easing: 'backIn', + duration:.6 + }); + + var wrapped = new Ext.Resizable('wrapped', { + wrap:true, + pinned:true, + minWidth:50, + minHeight: 50, + preserveRatio: true + }); + + var transparent = new Ext.Resizable('transparent', { + wrap:true, + minWidth:50, + minHeight: 50, + preserveRatio: true, + transparent:true + }); + + var custom = new Ext.Resizable('custom', { + wrap:true, + pinned:true, + minWidth:50, + minHeight: 50, + preserveRatio: true, + handles: 'all', + draggable:true, + dynamic:true + }); + var customEl = custom.getEl(); + // move to the body to prevent overlap on my blog + document.body.insertBefore(customEl.dom, document.body.firstChild); + + customEl.on('dblclick', function(){ + customEl.hide(true); + }); + customEl.hide(); + + Ext.get('showMe').on('click', function(){ + customEl.center(); + customEl.show(true); + }); + + var dwrapped = new Ext.Resizable('dwrapped', { + wrap:true, + pinned:true, + width:450, + height:150, + minWidth:200, + minHeight: 50, + dynamic: true + }); + + var snap = new Ext.Resizable('snap', { + pinned:true, + width:250, + height:100, + handles: 'e', + widthIncrement:50, + minWidth: 50, + dynamic: true + }); + } +}; + +Ext.EventManager.onDocumentReady(ResizableExample.init, ResizableExample, true); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/resizable/sara.jpg b/thirdpartyjs/extjs/examples/resizable/sara.jpg new file mode 100644 index 0000000..b0f5e0f --- /dev/null +++ b/thirdpartyjs/extjs/examples/resizable/sara.jpg diff --git a/thirdpartyjs/extjs/examples/resizable/sara_and_zack.jpg b/thirdpartyjs/extjs/examples/resizable/sara_and_zack.jpg new file mode 100644 index 0000000..21a0680 --- /dev/null +++ b/thirdpartyjs/extjs/examples/resizable/sara_and_zack.jpg diff --git a/thirdpartyjs/extjs/examples/resizable/zack.jpg b/thirdpartyjs/extjs/examples/resizable/zack.jpg new file mode 100644 index 0000000..1358be9 --- /dev/null +++ b/thirdpartyjs/extjs/examples/resizable/zack.jpg diff --git a/thirdpartyjs/extjs/examples/shared/icons/arrow-down.gif b/thirdpartyjs/extjs/examples/shared/icons/arrow-down.gif new file mode 100644 index 0000000..954a505 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/arrow-down.gif diff --git a/thirdpartyjs/extjs/examples/shared/icons/arrow-up.gif b/thirdpartyjs/extjs/examples/shared/icons/arrow-up.gif new file mode 100644 index 0000000..63039d9 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/arrow-up.gif diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/SILK.txt b/thirdpartyjs/extjs/examples/shared/icons/fam/SILK.txt new file mode 100644 index 0000000..5584ada --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/SILK.txt @@ -0,0 +1,3 @@ +The icons in this folder are direct gif conversions of the fam fam fam silk icons. + +Please see http://www.famfamfam.com/lab/icons/silk/ for more details. \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/add.gif b/thirdpartyjs/extjs/examples/shared/icons/fam/add.gif new file mode 100644 index 0000000..9319525 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/add.gif diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/connect.png b/thirdpartyjs/extjs/examples/shared/icons/fam/connect.png new file mode 100644 index 0000000..024138e --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/connect.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/cross.gif b/thirdpartyjs/extjs/examples/shared/icons/fam/cross.gif new file mode 100644 index 0000000..2eb2865 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/cross.gif diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/delete.gif b/thirdpartyjs/extjs/examples/shared/icons/fam/delete.gif new file mode 100644 index 0000000..5e2a3b1 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/delete.gif diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/grid.png b/thirdpartyjs/extjs/examples/shared/icons/fam/grid.png new file mode 100644 index 0000000..c4da495 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/grid.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/plugin.gif b/thirdpartyjs/extjs/examples/shared/icons/fam/plugin.gif new file mode 100644 index 0000000..209c121 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/plugin.gif diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/plugin_add.gif b/thirdpartyjs/extjs/examples/shared/icons/fam/plugin_add.gif new file mode 100644 index 0000000..5c95312 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/plugin_add.gif diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user.png new file mode 100644 index 0000000..79f35cc --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_add.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_add.png new file mode 100644 index 0000000..deae99b --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_add.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_comment.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_comment.png new file mode 100644 index 0000000..e54ebeb --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_comment.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_delete.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_delete.png new file mode 100644 index 0000000..acbb563 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_delete.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_edit.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_edit.png new file mode 100644 index 0000000..c1974cd --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_edit.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_female.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_female.png new file mode 100644 index 0000000..7c71de0 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_female.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_gray.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_gray.png new file mode 100644 index 0000000..8fd539e --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_gray.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_green.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_green.png new file mode 100644 index 0000000..30383c2 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_green.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_orange.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_orange.png new file mode 100644 index 0000000..b818127 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_orange.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_red.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_red.png new file mode 100644 index 0000000..c6f66e8 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_red.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/fam/user_suit.png b/thirdpartyjs/extjs/examples/shared/icons/fam/user_suit.png new file mode 100644 index 0000000..b3454e1 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/fam/user_suit.png diff --git a/thirdpartyjs/extjs/examples/shared/icons/save.gif b/thirdpartyjs/extjs/examples/shared/icons/save.gif new file mode 100644 index 0000000..8174749 --- /dev/null +++ b/thirdpartyjs/extjs/examples/shared/icons/save.gif diff --git a/thirdpartyjs/extjs/examples/tabs/ajax1.htm b/thirdpartyjs/extjs/examples/tabs/ajax1.htm new file mode 100644 index 0000000..ff723e8 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tabs/ajax1.htm @@ -0,0 +1,3 @@ +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure.

    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure.

    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure.

    diff --git a/thirdpartyjs/extjs/examples/tabs/ajax2.htm b/thirdpartyjs/extjs/examples/tabs/ajax2.htm new file mode 100644 index 0000000..8bb27c2 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tabs/ajax2.htm @@ -0,0 +1,7 @@ +I'm am content loaded via AJAX. I was set up using the setUrl() method on my Ext.TabPanelItem object: +
    var tab3 = jtabs.addTab('jtabs-3', "Ajax Tab 2");
    +tab3.setUrl('ajax2.htm', null, true);
    +
    +Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure. +Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure. +Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure. diff --git a/thirdpartyjs/extjs/examples/tabs/tabs-adv.html b/thirdpartyjs/extjs/examples/tabs/tabs-adv.html new file mode 100644 index 0000000..25517e0 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tabs/tabs-adv.html @@ -0,0 +1,35 @@ + + + +Tabs Example + + + + + + + + + + + + + +

    Tab Panel Example 2

    +

    Note that the js and css is not minified so it is readable. See tabs-adv.js for the tab creation code +and tabs-example.css for the css.

    + +

    Closable tabs with auto tab resize turned on.



    +
    +
    + Add a new Tab +
    +
    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. Quisque dolor magna, ornare sed, elementum porta, luctus in, leo.

    +

    Donec quis dui. Sed imperdiet. Nunc consequat, est eu sollicitudin gravida, mauris ligula lacinia mauris, eu porta dui nisl in velit. Nam congue, odio id auctor nonummy, augue lectus euismod nunc, in tristique turpis dolor sed urna. Donec sit amet quam eget diam fermentum pharetra. Integer tincidunt arcu ut purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla blandit malesuada odio. Nam augue. Aenean molestie sapien in mi. Suspendisse tincidunt. Pellentesque tempus dui vitae sapien. Donec aliquam ipsum sit amet pede. Sed scelerisque mi a erat. Curabitur rutrum ullamcorper risus. Maecenas et lorem ut felis dictum viverra. Fusce sem. Donec pharetra nibh sit amet sapien.

    +

    Aenean ut orci sed ligula consectetuer pretium. Aliquam odio. Nam pellentesque enim. Nam tincidunt condimentum nisi. Maecenas convallis luctus ligula. Donec accumsan ornare risus. Vestibulum id magna a nunc posuere laoreet. Integer iaculis leo vitae nibh. Nam vulputate, mauris vitae luctus pharetra, pede neque bibendum tellus, facilisis commodo diam nisi eget lacus. Duis consectetuer pulvinar nisi. Cras interdum ultricies sem. Nullam tristique. Suspendisse elementum purus eu nisl. Nulla facilisi. Phasellus ultricies ullamcorper lorem. Sed euismod ante vitae lacus. Nam nunc leo, congue vehicula, luctus ac, tempus non, ante. Morbi suscipit purus a nulla. Sed eu diam.

    +
    +
    +
    + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tabs/tabs-adv.js b/thirdpartyjs/extjs/examples/tabs/tabs-adv.js new file mode 100644 index 0000000..e876bdd --- /dev/null +++ b/thirdpartyjs/extjs/examples/tabs/tabs-adv.js @@ -0,0 +1,29 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + var tabs = new Ext.TabPanel('tab-panel1', { + resizeTabs:true, // turn on tab resizing + minTabWidth: 20, + preferredTabWidth:150 + }); + + tabs.addTab('root-tab', 'Home Tab'); + tabs.activate(0); + + var content = Ext.getDom('content').innerHTML; // bogus markup for tabs + var index = 0; + Ext.get('add-link').on('click', function(){ + tabs.addTab( + Ext.id(), + 'New Tab ' + (++index), + 'Tab Body ' + index + content, + true + ); + }); +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tabs/tabs-example.css b/thirdpartyjs/extjs/examples/tabs/tabs-example.css new file mode 100644 index 0000000..e7d0ecd --- /dev/null +++ b/thirdpartyjs/extjs/examples/tabs/tabs-example.css @@ -0,0 +1,36 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +.list {list-style:square;width:500px;padding-left:16px;} +.list li{padding:2px;font-size:8pt;} + +/* hide the tab content while loading */ +.tab-content{display:none;} + +pre { + font-size:11px; +} + +#tabs1 {width:400px;} +#tabs1 .x-tabs-item-body {display:none;padding:10px;} + +#jtabs {width:600px;} +#jtabs .x-tabs-body {height:200px;overflow:auto;} +#jtabs .x-tabs-item-body {display:none;padding:10px;font-size:11px;} + +/* default loading indicator for ajax calls */ +.loading-indicator { + font-size:8pt; + background-image:url('../../resources/images/grid/loading.gif'); + background-repeat: no-repeat; + background-position: left; + padding-left:20px; +} + +#tab-panel1 .x-tabs-body {height:300px;overflow:auto;} +#tab-panel1 .x-tabs-item-body {padding:10px;} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tabs/tabs-example.js b/thirdpartyjs/extjs/examples/tabs/tabs-example.js new file mode 100644 index 0000000..e6b739c --- /dev/null +++ b/thirdpartyjs/extjs/examples/tabs/tabs-example.js @@ -0,0 +1,41 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +var TabsExample = { + init : function(){ + // basic tabs 1, built from existing content + var tabs = new Ext.TabPanel('tabs1'); + tabs.addTab('script', "View Script"); + tabs.addTab('markup', "View Markup"); + tabs.activate('script'); + + // second tabs built from JS + var jtabs = new Ext.TabPanel('jtabs'); + jtabs.addTab('jtabs-1', "Normal Tab", "My content was added during construction."); + + var tab2 = jtabs.addTab('jtabs-2', "Ajax Tab 1"); + var updater = tab2.getUpdateManager(); + updater.setDefaultUrl('ajax1.htm'); + tab2.on('activate', updater.refresh, updater, true); + + var tab3 = jtabs.addTab('jtabs-3', "Ajax Tab 2"); + tab3.setUrl('ajax2.htm', null, true); + + var tab4 = jtabs.addTab('jtabs-4', "Event Tab"); + tab4.setContent("I am tab 4's content. My content was set with setContent() after I was created. I also have an event listener attached."); + tab4.on('activate', function(){ + alert('Tab 4 was activated.'); + }); + + jtabs.addTab('tabs1-5', "Disabled Tab", "Can't see me cause I'm disabled"); + jtabs.disableTab('tabs1-5'); + + jtabs.activate('jtabs-1'); + } +} +Ext.EventManager.onDocumentReady(TabsExample.init, TabsExample, true); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tabs/tabs.html b/thirdpartyjs/extjs/examples/tabs/tabs.html new file mode 100644 index 0000000..6a231c6 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tabs/tabs.html @@ -0,0 +1,75 @@ + + + + + Tabs Example + + + + + + + + + + + + + + + + + + +

    Tab Panel Examples

    +

    Note that the js and css is not minified so it is readable. See tabs-example.js for the tab creation code +and tabs-example.css for the css.

    + +

    Tabs without fixed height that resize to the content. Built from existing markup.


    + +
    +
    + Here's my script: + + +
    +var tabs = new Ext.TabPanel('tabs1');
    +tabs.addTab('script', "View Script");
    +tabs.addTab('markup', "View Markup");
    +tabs.activate('script');
    + + +
    +
    + + +
    +<div id="tabs1">
    +    <div id="script" class="tab-content">
    +        (Content goes here)
    +    </div>
    +    <div id="markup" class="tab-content">
    +        (Content goes here)
    +    </div>
    +</div>
    + + +
    +
    + +
    +

    Tabs with fixed height that scroll the content. Built entirely with javascript.

    +
    + + +
    +
    + + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/Thumbs.db b/thirdpartyjs/extjs/examples/tree/Thumbs.db new file mode 100644 index 0000000..e153282 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/Thumbs.db diff --git a/thirdpartyjs/extjs/examples/tree/album.gif b/thirdpartyjs/extjs/examples/tree/album.gif new file mode 100644 index 0000000..bc9ac0f --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/album.gif diff --git a/thirdpartyjs/extjs/examples/tree/center-bg.gif b/thirdpartyjs/extjs/examples/tree/center-bg.gif new file mode 100644 index 0000000..f9b25b3 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/center-bg.gif diff --git a/thirdpartyjs/extjs/examples/tree/dep-tree.json b/thirdpartyjs/extjs/examples/tree/dep-tree.json new file mode 100644 index 0000000..cb83ddc --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/dep-tree.json @@ -0,0 +1 @@ +[{"text":"Ext Core (Required)","id":"c-1176543742240","options":[],"files":[{"allowDelete":true,"text":"DomHelper.js","id":"source/core/DomHelper.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 14 KB","qtipTitle":"DomHelper.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Template.js","id":"source/core/Template.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 13 KB","qtipTitle":"Template.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DomQuery.js","id":"source/core/DomQuery.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 24 KB","qtipTitle":"DomQuery.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Observable.js","id":"source/util/Observable.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 9.4 KB","qtipTitle":"Observable.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"EventManager.js","id":"source/core/EventManager.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 24 KB","qtipTitle":"EventManager.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Element.js","id":"source/core/Element.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 101 KB","qtipTitle":"Element.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Fx.js","id":"source/core/Fx.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 33 KB","qtipTitle":"Fx.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"CompositeElement.js","id":"source/core/CompositeElement.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 7.1 KB","qtipTitle":"CompositeElement.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"UpdateManager.js","id":"source/core/UpdateManager.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 19 KB","qtipTitle":"UpdateManager.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DelayedTask.js","id":"source/util/DelayedTask.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 4:51 am
    Size: 2 KB","qtipTitle":"DelayedTask.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"Core - Utilities","id":"c-1176547092092","options":[],"files":[{"allowDelete":true,"text":"ClickRepeater.js","id":"source/util/ClickRepeater.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 4.9 KB","qtipTitle":"ClickRepeater.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"CSS.js","id":"source/util/CSS.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 5 KB","qtipTitle":"CSS.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Format.js","id":"source/util/Format.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 5.4 KB","qtipTitle":"Format.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"JSON.js","id":"source/util/JSON.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 4.3 KB","qtipTitle":"JSON.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"KeyMap.js","id":"source/util/KeyMap.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 5.9 KB","qtipTitle":"KeyMap.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"KeyNav.js","id":"source/util/KeyNav.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 3 KB","qtipTitle":"KeyNav.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TaskMgr.js","id":"source/util/TaskMgr.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 2.3 KB","qtipTitle":"TaskMgr.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TextMetrics.js","id":"source/util/TextMetrics.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:31 am
    Size: 1.8 KB","qtipTitle":"TextMetrics.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"Core - Date Parsing and Formatting","id":"c-1176614560128","options":[],"files":[{"allowDelete":true,"expanded":true,"text":"Date.js","id":"source/util/Date.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 11:01 pm
    Size: 23 KB","qtipTitle":"Date.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"dep":[]},{"text":"Core - Layers","id":"c-1176548288067","options":[],"files":[{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"Core - Drag and Drop","id":"c-1176548288338","options":[{"text":"Overflow Scrolling Support","cmpId":"c-1176548288338","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176599383444","children":[{"allowDelete":true,"text":"ScrollManager.js","id":"source/dd/ScrollManager.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 5.5 KB","qtipTitle":"ScrollManager.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"DDCore.js","id":"source/dd/DDCore.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 95 KB","qtipTitle":"DDCore.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"StatusProxy.js","id":"source/dd/StatusProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 3.1 KB","qtipTitle":"StatusProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Registry.js","id":"source/dd/Registry.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 2.3 KB","qtipTitle":"Registry.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DragSource.js","id":"source/dd/DragSource.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 6.3 KB","qtipTitle":"DragSource.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DropTarget.js","id":"source/dd/DropTarget.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 1.2 KB","qtipTitle":"DropTarget.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DragZone.js","id":"source/dd/DragZone.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 2.6 KB","qtipTitle":"DragZone.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DropZone.js","id":"source/dd/DropZone.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 2.3 KB","qtipTitle":"DropZone.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Core - State Management","id":"c-1176681140293","options":[],"files":[{"allowDelete":true,"expanded":true,"text":"State.js","id":"source/state/State.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 9.8 KB","qtipTitle":"State.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"dep":[]},{"text":"Resizable","id":"c-1176548288611","options":[],"files":[{"allowDelete":true,"text":"Resizable.js","id":"source/widgets/Resizable.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 21 KB","qtipTitle":"Resizable.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"QuickTips - Tooltip Widget","id":"c-1176548289178","options":[],"files":[{"allowDelete":true,"text":"QuickTips.js","id":"source/widgets/QuickTips.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 9.1 KB","qtipTitle":"QuickTips.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Button Widget","id":"c-1176548288907","options":[{"text":"Button QuickTips","cmpId":"c-1176548288907","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176590302846","children":[{"allowDelete":true,"text":"QuickTips.js","id":"source/widgets/QuickTips.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 9.1 KB","qtipTitle":"QuickTips.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"Button.js","id":"source/widgets/Button.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 13 KB","qtipTitle":"Button.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MenuButton.js","id":"source/widgets/MenuButton.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 6.3 KB","qtipTitle":"MenuButton.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"TextMetrics.js","id":"source/util/TextMetrics.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 1.8 KB","qtipTitle":"TextMetrics.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Tabs Widget","id":"c-1176590622815","options":[],"files":[{"allowDelete":true,"text":"TabPanel.js","id":"source/widgets/TabPanel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 25 KB","qtipTitle":"TabPanel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"SplitBar Widget","id":"c-1176548289426","options":[],"files":[{"allowDelete":true,"text":"SplitBar.js","id":"source/widgets/SplitBar.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 14 KB","qtipTitle":"SplitBar.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"DDCore.js","id":"source/dd/DDCore.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 95 KB","qtipTitle":"DDCore.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Menu Widget","id":"c-1176548289698","options":[{"text":"Color Palette Item","cmpId":"c-1176548289698","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176600135917","children":[{"allowDelete":true,"text":"ColorPalette.js","id":"source/widgets/ColorPalette.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 4.5 KB","qtipTitle":"ColorPalette.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Date Picker Item","cmpId":"c-1176548289698","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176600141997","children":[{"allowDelete":true,"text":"DatePicker.js","id":"source/widgets/DatePicker.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 16 KB","qtipTitle":"DatePicker.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"Adapter.js","id":"source/widgets/menu/Adapter.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.5 KB","qtipTitle":"Adapter.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"BaseItem.js","id":"source/widgets/menu/BaseItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.7 KB","qtipTitle":"BaseItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"CheckItem.js","id":"source/widgets/menu/CheckItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.7 KB","qtipTitle":"CheckItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Item.js","id":"source/widgets/menu/Item.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.8 KB","qtipTitle":"Item.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Menu.js","id":"source/widgets/menu/Menu.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 16 KB","qtipTitle":"Menu.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MenuMgr.js","id":"source/widgets/menu/MenuMgr.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 4.7 KB","qtipTitle":"MenuMgr.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Separator.js","id":"source/widgets/menu/Separator.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.2 KB","qtipTitle":"Separator.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TextItem.js","id":"source/widgets/menu/TextItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.1 KB","qtipTitle":"TextItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"KeyNav.js","id":"source/util/KeyNav.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"KeyNav.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Loading Mask Widget","id":"c-1176682522794","options":[],"files":[{"allowDelete":true,"expanded":true,"text":"LoadMask.js","id":"source/widgets/LoadMask.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 3.1 KB","qtipTitle":"LoadMask.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"dep":[]},{"text":"Date Picker Popup (DateMenu)","id":"c-1176548289970","options":[],"files":[{"allowDelete":true,"text":"DateMenu.js","id":"source/widgets/menu/DateMenu.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 888 B","qtipTitle":"DateMenu.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DatePicker.js","id":"source/widgets/DatePicker.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 16 KB","qtipTitle":"DatePicker.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DateItem.js","id":"source/widgets/menu/DateItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.1 KB","qtipTitle":"DateItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Date.js","id":"source/util/Date.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 23 KB","qtipTitle":"Date.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MenuMgr.js","id":"source/widgets/menu/MenuMgr.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 4.7 KB","qtipTitle":"MenuMgr.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Menu.js","id":"source/widgets/menu/Menu.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 16 KB","qtipTitle":"Menu.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"BaseItem.js","id":"source/widgets/menu/BaseItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.7 KB","qtipTitle":"BaseItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Adapter.js","id":"source/widgets/menu/Adapter.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.5 KB","qtipTitle":"Adapter.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"KeyNav.js","id":"source/util/KeyNav.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"KeyNav.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ClickRepeater.js","id":"source/util/ClickRepeater.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.9 KB","qtipTitle":"ClickRepeater.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Color Picker Popup (ColorMenu)","id":"c-1176548290251","options":[],"files":[{"allowDelete":true,"text":"ColorMenu.js","id":"source/widgets/menu/ColorMenu.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 915 B","qtipTitle":"ColorMenu.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ColorItem.js","id":"source/widgets/menu/ColorItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 792 B","qtipTitle":"ColorItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ColorPalette.js","id":"source/widgets/ColorPalette.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 4.5 KB","qtipTitle":"ColorPalette.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MenuMgr.js","id":"source/widgets/menu/MenuMgr.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 4.7 KB","qtipTitle":"MenuMgr.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Menu.js","id":"source/widgets/menu/Menu.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 16 KB","qtipTitle":"Menu.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"BaseItem.js","id":"source/widgets/menu/BaseItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.7 KB","qtipTitle":"BaseItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Adapter.js","id":"source/widgets/menu/Adapter.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.5 KB","qtipTitle":"Adapter.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Border Layout Widget","id":"c-1176590622527","options":[{"text":"Preconfigured Outlook Style Layout","cmpId":"c-1176590622527","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176600285242","children":[{"allowDelete":true,"text":"ReaderLayout.js","id":"source/widgets/layout/ReaderLayout.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 2.4 KB","qtipTitle":"ReaderLayout.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"BasicLayoutRegion.js","id":"source/widgets/layout/BasicLayoutRegion.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9.5 KB","qtipTitle":"BasicLayoutRegion.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"BorderLayout.js","id":"source/widgets/layout/BorderLayout.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 11 KB","qtipTitle":"BorderLayout.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"BorderLayoutRegions.js","id":"source/widgets/layout/BorderLayoutRegions.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 6.2 KB","qtipTitle":"BorderLayoutRegions.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ContentPanels.js","id":"source/widgets/layout/ContentPanels.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 17 KB","qtipTitle":"ContentPanels.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"LayoutManager.js","id":"source/widgets/layout/LayoutManager.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 4.2 KB","qtipTitle":"LayoutManager.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"LayoutRegion.js","id":"source/widgets/layout/LayoutRegion.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 21 KB","qtipTitle":"LayoutRegion.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"LayoutStateManager.js","id":"source/widgets/layout/LayoutStateManager.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 2.3 KB","qtipTitle":"LayoutStateManager.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"SplitLayoutRegion.js","id":"source/widgets/layout/SplitLayoutRegion.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 10 KB","qtipTitle":"SplitLayoutRegion.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"SplitBar.js","id":"source/widgets/SplitBar.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 14 KB","qtipTitle":"SplitBar.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DDCore.js","id":"source/dd/DDCore.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 95 KB","qtipTitle":"DDCore.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TabPanel.js","id":"source/widgets/TabPanel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 25 KB","qtipTitle":"TabPanel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Toolbar Widget","id":"c-1176590623103","options":[{"text":"Menu Buttons","cmpId":"c-1176590623103","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176600354384","children":[{"allowDelete":true,"text":"MenuButton.js","id":"source/widgets/MenuButton.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 6.3 KB","qtipTitle":"MenuButton.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Paging Toolbar","cmpId":"c-1176590623103","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176683220697","children":[{"allowDelete":true,"expanded":true,"text":"PagingToolbar.js","id":"source/widgets/PagingToolbar.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 9.2 KB","qtipTitle":"PagingToolbar.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}]}],"files":[{"allowDelete":true,"text":"Toolbar.js","id":"source/widgets/Toolbar.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 12 KB","qtipTitle":"Toolbar.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Button.js","id":"source/widgets/Button.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 13 KB","qtipTitle":"Button.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TextMetrics.js","id":"source/util/TextMetrics.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:56 am
    Size: 1.8 KB","qtipTitle":"TextMetrics.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Dialog - Basic Widget","id":"c-1176590621920","options":[{"text":"Dialog Resize Support","cmpId":"c-1176590621920","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176591083447","children":[{"allowDelete":true,"text":"Resizable.js","id":"source/widgets/Resizable.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 21 KB","qtipTitle":"Resizable.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Dialog Drag and Drop Support","cmpId":"c-1176590621920","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176591106528","children":[{"allowDelete":true,"text":"DDCore.js","id":"source/dd/DDCore.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 95 KB","qtipTitle":"DDCore.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Tabs Support","cmpId":"c-1176590621920","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176593460681","children":[{"allowDelete":true,"text":"TabPanel.js","id":"source/widgets/TabPanel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 25 KB","qtipTitle":"TabPanel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"BasicDialog.js","id":"source/widgets/BasicDialog.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 41 KB","qtipTitle":"BasicDialog.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Dialog - MessageBox","id":"c-1176590623375","options":[],"files":[{"allowDelete":true,"text":"MessageBox.js","id":"source/widgets/MessageBox.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 20 KB","qtipTitle":"MessageBox.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"BasicDialog.js","id":"source/widgets/BasicDialog.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 41 KB","qtipTitle":"BasicDialog.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Data - Core","id":"c-1176590623903","options":[],"files":[{"allowDelete":true,"text":"Connection.js","id":"source/data/Connection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.6 KB","qtipTitle":"Connection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataField.js","id":"source/data/DataField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"DataField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataProxy.js","id":"source/data/DataProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 1.7 KB","qtipTitle":"DataProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataReader.js","id":"source/data/DataReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 379 B","qtipTitle":"DataReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Record.js","id":"source/data/Record.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 7.5 KB","qtipTitle":"Record.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"SortTypes.js","id":"source/data/SortTypes.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.4 KB","qtipTitle":"SortTypes.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Store.js","id":"source/data/Store.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 20 KB","qtipTitle":"Store.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"HttpProxy.js","id":"source/data/HttpProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.7 KB","qtipTitle":"HttpProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ScriptTagProxy.js","id":"source/data/ScriptTagProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6.2 KB","qtipTitle":"ScriptTagProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MemoryProxy.js","id":"source/data/MemoryProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.1 KB","qtipTitle":"MemoryProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Data - JSON Support","id":"c-1176590624144","options":[],"files":[{"allowDelete":true,"text":"JsonReader.js","id":"source/data/JsonReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6 KB","qtipTitle":"JsonReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ArrayReader.js","id":"source/data/ArrayReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.4 KB","qtipTitle":"ArrayReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"JSON.js","id":"source/util/JSON.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.3 KB","qtipTitle":"JSON.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Connection.js","id":"source/data/Connection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.6 KB","qtipTitle":"Connection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataField.js","id":"source/data/DataField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"DataField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataProxy.js","id":"source/data/DataProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 1.7 KB","qtipTitle":"DataProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataReader.js","id":"source/data/DataReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 379 B","qtipTitle":"DataReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Record.js","id":"source/data/Record.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 7.5 KB","qtipTitle":"Record.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"SortTypes.js","id":"source/data/SortTypes.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.4 KB","qtipTitle":"SortTypes.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Store.js","id":"source/data/Store.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 20 KB","qtipTitle":"Store.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"HttpProxy.js","id":"source/data/HttpProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.7 KB","qtipTitle":"HttpProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ScriptTagProxy.js","id":"source/data/ScriptTagProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6.2 KB","qtipTitle":"ScriptTagProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MemoryProxy.js","id":"source/data/MemoryProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.1 KB","qtipTitle":"MemoryProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Data - XML Support","id":"c-1176594563024","options":[],"files":[{"allowDelete":true,"text":"XmlReader.js","id":"source/data/XmlReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.7 KB","qtipTitle":"XmlReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Connection.js","id":"source/data/Connection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.6 KB","qtipTitle":"Connection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataField.js","id":"source/data/DataField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"DataField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataProxy.js","id":"source/data/DataProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 1.7 KB","qtipTitle":"DataProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataReader.js","id":"source/data/DataReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 379 B","qtipTitle":"DataReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Record.js","id":"source/data/Record.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 7.5 KB","qtipTitle":"Record.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"SortTypes.js","id":"source/data/SortTypes.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.4 KB","qtipTitle":"SortTypes.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Store.js","id":"source/data/Store.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 20 KB","qtipTitle":"Store.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"HttpProxy.js","id":"source/data/HttpProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.7 KB","qtipTitle":"HttpProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ScriptTagProxy.js","id":"source/data/ScriptTagProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6.2 KB","qtipTitle":"ScriptTagProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MemoryProxy.js","id":"source/data/MemoryProxy.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.1 KB","qtipTitle":"MemoryProxy.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Data - Simple Store","id":"c-1176594562552","options":[],"files":[{"allowDelete":true,"text":"SimpleStore.js","id":"source/data/SimpleStore.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 976 B","qtipTitle":"SimpleStore.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"JsonReader.js","id":"source/data/JsonReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6 KB","qtipTitle":"JsonReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ArrayReader.js","id":"source/data/ArrayReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.4 KB","qtipTitle":"ArrayReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Connection.js","id":"source/data/Connection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.6 KB","qtipTitle":"Connection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataField.js","id":"source/data/DataField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"DataField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DataReader.js","id":"source/data/DataReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 379 B","qtipTitle":"DataReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Record.js","id":"source/data/Record.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 7.5 KB","qtipTitle":"Record.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"SortTypes.js","id":"source/data/SortTypes.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 2.4 KB","qtipTitle":"SortTypes.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Store.js","id":"source/data/Store.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 20 KB","qtipTitle":"Store.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Views - Data Bound Views","id":"c-1176590623664","options":[{"text":"JSON Support","cmpId":"c-1176590623664","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176594452492","children":[{"allowDelete":true,"expanded":true,"text":"JSON.js","id":"source/util/JSON.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 11:01 pm
    Size: 4.3 KB","qtipTitle":"JSON.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"View.js","id":"source/widgets/View.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 24 KB","qtipTitle":"View.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"JsonView.js","id":"source/widgets/JsonView.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9.9 KB","qtipTitle":"JsonView.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"Form - Basic Fields","id":"c-1176596007536","options":[{"text":"Custom Validations","cmpId":"c-1176596007536","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176596661900","children":[{"allowDelete":true,"text":"VTypes.js","id":"source/widgets/form/VTypes.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 2.9 KB","qtipTitle":"VTypes.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"Field.js","id":"source/widgets/form/Field.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 15 KB","qtipTitle":"Field.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Checkbox.js","id":"source/widgets/form/Checkbox.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.6 KB","qtipTitle":"Checkbox.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"NumberField.js","id":"source/widgets/form/NumberField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.8 KB","qtipTitle":"NumberField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Radio.js","id":"source/widgets/form/Radio.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 489 B","qtipTitle":"Radio.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TextArea.js","id":"source/widgets/form/TextArea.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.2 KB","qtipTitle":"TextArea.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TextField.js","id":"source/widgets/form/TextField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 11 KB","qtipTitle":"TextField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Form - ComboBox Widget","id":"c-1176594563568","options":[{"text":"Custom Validations","cmpId":"c-1176594563568","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176596097474","children":[{"allowDelete":true,"text":"VTypes.js","id":"source/widgets/form/VTypes.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 2.9 KB","qtipTitle":"VTypes.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"Combo.js","id":"source/widgets/form/Combo.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 28 KB","qtipTitle":"Combo.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Field.js","id":"source/widgets/form/Field.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 15 KB","qtipTitle":"Field.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TextField.js","id":"source/widgets/form/TextField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 11 KB","qtipTitle":"TextField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TriggerField.js","id":"source/widgets/form/TriggerField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6 KB","qtipTitle":"TriggerField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"View.js","id":"source/widgets/View.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 24 KB","qtipTitle":"View.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"KeyNav.js","id":"source/util/KeyNav.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"KeyNav.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Form - Date Field","id":"c-1176596008487","options":[],"files":[{"allowDelete":true,"text":"DateField.js","id":"source/widgets/form/DateField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9 KB","qtipTitle":"DateField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"TriggerField.js","id":"source/widgets/form/TriggerField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6 KB","qtipTitle":"TriggerField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Field.js","id":"source/widgets/form/Field.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 15 KB","qtipTitle":"Field.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TextField.js","id":"source/widgets/form/TextField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 11 KB","qtipTitle":"TextField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DateMenu.js","id":"source/widgets/menu/DateMenu.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 888 B","qtipTitle":"DateMenu.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DatePicker.js","id":"source/widgets/DatePicker.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 16 KB","qtipTitle":"DatePicker.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"DateItem.js","id":"source/widgets/menu/DateItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.1 KB","qtipTitle":"DateItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Date.js","id":"source/util/Date.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 23 KB","qtipTitle":"Date.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"MenuMgr.js","id":"source/widgets/menu/MenuMgr.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 4.7 KB","qtipTitle":"MenuMgr.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Menu.js","id":"source/widgets/menu/Menu.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 16 KB","qtipTitle":"Menu.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"BaseItem.js","id":"source/widgets/menu/BaseItem.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 3.7 KB","qtipTitle":"BaseItem.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Adapter.js","id":"source/widgets/menu/Adapter.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 6:04 pm
    Size: 1.5 KB","qtipTitle":"Adapter.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"KeyNav.js","id":"source/util/KeyNav.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3 KB","qtipTitle":"KeyNav.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ClickRepeater.js","id":"source/util/ClickRepeater.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.9 KB","qtipTitle":"ClickRepeater.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Form - Ajax and Loading Support","id":"c-1176596009103","options":[{"text":"XML Loading Support","cmpId":"c-1176596009103","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176596755855","children":[{"allowDelete":true,"text":"XmlReader.js","id":"source/data/XmlReader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 4.7 KB","qtipTitle":"XmlReader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"BasicForm.js","id":"source/widgets/form/BasicForm.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9.9 KB","qtipTitle":"BasicForm.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Action.js","id":"source/widgets/form/Action.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 5.6 KB","qtipTitle":"Action.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"Form - Dynamic Rendering","id":"c-1176596009599","options":[],"files":[{"allowDelete":true,"text":"Form.js","id":"source/widgets/form/Form.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 7.7 KB","qtipTitle":"Form.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layout.js","id":"source/widgets/form/Layout.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.3 KB","qtipTitle":"Layout.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"BasicForm.js","id":"source/widgets/form/BasicForm.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9.9 KB","qtipTitle":"BasicForm.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Action.js","id":"source/widgets/form/Action.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 5.6 KB","qtipTitle":"Action.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Form - Floating Editor","id":"c-1176596675069","options":[],"files":[{"allowDelete":true,"text":"Editor.js","id":"source/widgets/Editor.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.5 KB","qtipTitle":"Editor.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Grid - Core","id":"c-1176596674270","options":[{"text":"CellSelectionModel.js","cmpId":"c-1176596674270","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176598193101","children":[{"allowDelete":true,"text":"CellSelectionModel.js","id":"source/widgets/grid/CellSelectionModel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 6.7 KB","qtipTitle":"CellSelectionModel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Drag and Drop Column Reorder","cmpId":"c-1176596674270","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176598971151","children":[{"allowDelete":true,"text":"ColumnDD.js","id":"source/widgets/grid/ColumnDD.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 5.7 KB","qtipTitle":"ColumnDD.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Column Resizing","cmpId":"c-1176596674270","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176598974743","children":[{"allowDelete":true,"text":"ColumnSplitDD.js","id":"source/widgets/grid/ColumnSplitDD.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 2 KB","qtipTitle":"ColumnSplitDD.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Drag Grid Rows","cmpId":"c-1176596674270","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176598980335","children":[{"allowDelete":true,"text":"GridDD.js","id":"source/widgets/grid/GridDD.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 1.7 KB","qtipTitle":"GridDD.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Loading Mask","cmpId":"c-1176596674270","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176682774459","children":[{"allowDelete":true,"expanded":true,"text":"LoadMask.js","id":"source/widgets/LoadMask.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 3.1 KB","qtipTitle":"LoadMask.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}]},{"text":"Paging Toolbar","cmpId":"c-1176596674270","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176683284876","children":[{"allowDelete":true,"expanded":true,"text":"PagingToolbar.js","id":"source/widgets/PagingToolbar.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 9.2 KB","qtipTitle":"PagingToolbar.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"Toolbar.js","id":"source/widgets/Toolbar.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 12 KB","qtipTitle":"Toolbar.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"Button.js","id":"source/widgets/Button.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 14 KB","qtipTitle":"Button.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"TextMetrics.js","id":"source/util/TextMetrics.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 1.8 KB","qtipTitle":"TextMetrics.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"MixedCollection.js","id":"source/util/MixedCollection.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 17 KB","qtipTitle":"MixedCollection.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}]}],"files":[{"allowDelete":true,"text":"AbstractGridView.js","id":"source/widgets/grid/AbstractGridView.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.1 KB","qtipTitle":"AbstractGridView.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"AbstractSelectionModel.js","id":"source/widgets/grid/AbstractSelectionModel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 1 KB","qtipTitle":"AbstractSelectionModel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"RowSelectionModel.js","id":"source/widgets/grid/RowSelectionModel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 13 KB","qtipTitle":"RowSelectionModel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Grid.js","id":"source/widgets/grid/Grid.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 18 KB","qtipTitle":"Grid.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"ColumnModel.js","id":"source/widgets/grid/ColumnModel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 12 KB","qtipTitle":"ColumnModel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"GridView.js","id":"source/widgets/grid/GridView.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 58 KB","qtipTitle":"GridView.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"expanded":true,"text":"CSS.js","id":"source/util/CSS.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 11:01 pm
    Size: 5 KB","qtipTitle":"CSS.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Grid - Editing Support","id":"c-1176596839124","options":[],"files":[{"allowDelete":true,"text":"GridEditor.js","id":"source/widgets/grid/GridEditor.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 461 B","qtipTitle":"GridEditor.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"EditorGrid.js","id":"source/widgets/grid/EditorGrid.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6.2 KB","qtipTitle":"EditorGrid.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"Editor.js","id":"source/widgets/Editor.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.5 KB","qtipTitle":"Editor.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Grid - Property Grid","id":"c-1176596839827","options":[],"files":[{"allowDelete":true,"text":"PropertyGrid.js","id":"source/widgets/grid/PropertyGrid.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6.3 KB","qtipTitle":"PropertyGrid.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"GridEditor.js","id":"source/widgets/grid/GridEditor.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 461 B","qtipTitle":"GridEditor.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"EditorGrid.js","id":"source/widgets/grid/EditorGrid.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 6.2 KB","qtipTitle":"EditorGrid.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Editor.js","id":"source/widgets/Editor.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 4.5 KB","qtipTitle":"Editor.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9.9 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 3.4 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Tree - Core","id":"c-1176596840547","options":[{"text":"Sorting Support","cmpId":"c-1176596840547","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176599045969","children":[{"allowDelete":true,"text":"TreeSorter.js","id":"source/widgets/tree/TreeSorter.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 2.3 KB","qtipTitle":"TreeSorter.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Filtering Support","cmpId":"c-1176596840547","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176599073554","children":[{"allowDelete":true,"text":"TreeFilter.js","id":"source/widgets/tree/TreeFilter.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 3.6 KB","qtipTitle":"TreeFilter.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"text":"Drag and Drop Support","cmpId":"c-1176596840547","iconCls":"folder","type":"fileCt","allowDelete":true,"allowEdit":true,"id":"o-1176599245706","children":[{"allowDelete":true,"text":"TreeDragZone.js","id":"source/widgets/tree/TreeDragZone.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 1.5 KB","qtipTitle":"TreeDragZone.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"text":"TreeDropZone.js","id":"source/widgets/tree/TreeDropZone.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 7.9 KB","qtipTitle":"TreeDropZone.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"files":[{"allowDelete":true,"text":"Tree.js","id":"source/data/Tree.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 7:44 pm
    Size: 25 KB","qtipTitle":"Tree.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TreePanel.js","id":"source/widgets/tree/TreePanel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 14 KB","qtipTitle":"TreePanel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TreeSelectionModel.js","id":"source/widgets/tree/TreeSelectionModel.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 9.1 KB","qtipTitle":"TreeSelectionModel.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TreeNode.js","id":"source/widgets/tree/TreeNode.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 15 KB","qtipTitle":"TreeNode.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TreeNodeUI.js","id":"source/widgets/tree/TreeNodeUI.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 14 KB","qtipTitle":"TreeNodeUI.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[]},{"text":"Tree - Ajax Loading Support","id":"c-1176598286138","options":[],"files":[{"allowDelete":true,"text":"AsyncTreeNode.js","id":"source/widgets/tree/AsyncTreeNode.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 3.5 KB","qtipTitle":"AsyncTreeNode.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}},{"allowDelete":true,"text":"TreeLoader.js","id":"source/widgets/tree/TreeLoader.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 4.1 KB","qtipTitle":"TreeLoader.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}],"dep":[{"allowDelete":true,"text":"JSON.js","id":"source/util/JSON.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 14, 2007, 9:02 pm
    Size: 4.3 KB","qtipTitle":"JSON.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","events":{"beforeload":true,"load":true,"loadexception":true}}}]},{"text":"Tree - Editing Support","id":"c-1176682872198","options":[],"files":[{"allowDelete":true,"expanded":true,"text":"TreeEditor.js","id":"source/widgets/tree/TreeEditor.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 2.2 KB","qtipTitle":"TreeEditor.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}],"dep":[{"allowDelete":true,"expanded":true,"text":"Editor.js","id":"source/widgets/Editor.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 8.7 KB","qtipTitle":"Editor.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"Shadow.js","id":"source/widgets/Shadow.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 5 KB","qtipTitle":"Shadow.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"Layer.js","id":"source/widgets/Layer.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 11 KB","qtipTitle":"Layer.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"Component.js","id":"source/widgets/Component.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 9 KB","qtipTitle":"Component.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"Field.js","id":"source/widgets/form/Field.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 15 KB","qtipTitle":"Field.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}},{"allowDelete":true,"expanded":true,"text":"TextField.js","id":"source/widgets/form/TextField.js","leaf":true,"qtip":"Type: JavaScript File
    Last Modified: Apr 15, 2007, 5:18 pm
    Size: 11 KB","qtipTitle":"TextField.js","cls":"file","loader":{"baseParams":{},"requestMethod":"POST","dataUrl":"dependency.php","events":{"beforeload":true,"load":true,"loadexception":true},"transId":false}}]}] \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/dependency.css b/thirdpartyjs/extjs/examples/tree/dependency.css new file mode 100644 index 0000000..72255e0 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/dependency.css @@ -0,0 +1,52 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +.x-tree-node img.folder, .x-tree-node-collapsed img.folder{ + background-image:url(../../resources/images/default/tree/folder.gif); +} + +.x-tree-node-expanded img.folder { + background-image:url(../../resources/images/default/tree/folder-open.gif); +} + +.x-tree-node .croot{ + background:#c3daf9; +} +.x-tree-node div.cmp{ + background:#eee url(images/cmp-bg.gif) repeat-x; + margin-top:1px; + border-top:1px solid #ddd; + border-bottom:1px solid #ccc; + padding-top:2px; + padding-bottom:1px; +} +.add-cmp .x-btn-text { + background-image:url(../shared/icons/fam/plugin_add.gif); +} + +.add-opt .x-btn-text { + background-image:url(../shared/icons/fam/add.gif); +} + +.remove .x-btn-text, .remove-mi .x-menu-item-icon { + background-image:url(../shared/icons/fam/delete.gif); +} + +.save .x-btn-text { + background-image:url(../shared/icons/save.gif); +} +.expand-all .x-menu-item-icon { + background-image:url(../shared/icons/arrow-down.gif); +} +.collapse-all .x-menu-item-icon { + background-image:url(../shared/icons/arrow-up.gif); +} + +.x-tree-node img.cmp, .menu-cmp .x-menu-item-icon{ + background-image:url(../shared/icons/fam/plugin.gif); +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/dependency.html b/thirdpartyjs/extjs/examples/tree/dependency.html new file mode 100644 index 0000000..2415f5b --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/dependency.html @@ -0,0 +1,33 @@ + + + +Ext Dependency Builder + + + + + + + + + + + + + +

    Ext Dependency Builder

    +

    This is a piece of the application we use to build the Ext dependency tree.
    + Key features it demonstrates:
    + * Restrictive drag and drop of nodes from tree to tree
    + * Restrictive reordering of nodes
    + * Loading and saving to/from different structures
    + * Dynamic tree context menu
    + * Inline editing of tree nodes
    + * Custom tree styles with CSS +

    +

    The js is not minified so it is readable. See dependency.js.

    + +
    + + + diff --git a/thirdpartyjs/extjs/examples/tree/dependency.js b/thirdpartyjs/extjs/examples/tree/dependency.js new file mode 100644 index 0000000..183bab0 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/dependency.js @@ -0,0 +1,436 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + var xt = Ext.tree; + // seeds for the new node suffix + var cseed = 0, oseed = 0; + + // turn on quick tips + Ext.QuickTips.init(); + + var cview = Ext.DomHelper.append('main-ct', + {cn:[{id:'main-tb'},{id:'cbody'}]} + ); + + + // create the primary toolbar + var tb = new Ext.Toolbar('main-tb'); + tb.add({ + id:'save', + text:'Save', + disabled:true, + handler:save, + cls:'x-btn-text-icon save', + tooltip:'Saves all components to the server' + },'-', { + id:'add', + text:'Component', + handler:addComponent, + cls:'x-btn-text-icon add-cmp', + tooltip:'Add a new Component to the dependency builder' + }, { + id:'option', + text:'Option', + disabled:true, + handler:addOption, + cls:'x-btn-text-icon add-opt', + tooltip:'Add a new optional dependency to the selected component' + },'-',{ + id:'remove', + text:'Remove', + disabled:true, + handler:removeNode, + cls:'x-btn-text-icon remove', + tooltip:'Remove the selected item' + }); + // for enabling and disabling + var btns = tb.items.map; + + + + // create our layout + var layout = new Ext.BorderLayout('main-ct', { + west: { + split:true, + initialSize: 200, + minSize: 175, + maxSize: 400, + titlebar: true, + margins:{left:5,right:0,bottom:5,top:5} + }, + center: { + title:'Components', + margins:{left:0,right:5,bottom:5,top:5} + } + }, 'main-ct'); + + layout.batchAdd({ + west: { + id: 'source-files', + autoCreate:true, + title:'Ext Source Files', + autoScroll:true, + fitToFrame:true + }, + center : { + el: cview, + autoScroll:true, + fitToFrame:true, + toolbar: tb, + resizeEl:'cbody' + } + }); + + + + // this is the source code tree + var stree = new xt.TreePanel('source-files', { + animate:true, + loader: new xt.TreeLoader({dataUrl:'dependency.php'}), + enableDrag:true, + containerScroll: true + }); + + new xt.TreeSorter(stree, {folderSort:true}); + + var sroot = new xt.AsyncTreeNode({ + text: 'Ext JS', + draggable:false, + id:'source' + }); + stree.setRootNode(sroot); + stree.render(); + sroot.expand(false, false); + + + // the component tree + var ctree = new xt.TreePanel('cbody', { + animate:true, + enableDD:true, + containerScroll: true, + lines:false, + rootVisible:false, + loader: new Ext.tree.TreeLoader() + }); + + ctree.el.addKeyListener(Ext.EventObject.DELETE, removeNode); + + var croot = new xt.AsyncTreeNode({ + allowDrag:false, + allowDrop:true, + id:'croot', + text:'Packages and Components', + cls:'croot', + loader:new Ext.tree.TreeLoader({ + dataUrl:'dep-tree.json', + createNode: readNode + }) + }); + ctree.setRootNode(croot); + ctree.render(); + croot.expand(); + + // some functions to determine whether is not the drop is allowed + function hasNode(t, n){ + return (t.attributes.type == 'fileCt' && t.findChild('id', n.id)) || + (t.leaf === true && t.parentNode.findChild('id', n.id)); + }; + + function isSourceCopy(e, n){ + var a = e.target.attributes; + return n.getOwnerTree() == stree && !hasNode(e.target, n) && + ((e.point == 'append' && a.type == 'fileCt') || a.leaf === true); + }; + + function isReorder(e, n){ + return n.parentNode == e.target.parentNode && e.point != 'append'; + }; + + // handle drag over and drag drop + ctree.on('nodedragover', function(e){ + var n = e.dropNode; + return isSourceCopy(e, n) || isReorder(e, n); + }); + + ctree.on('beforenodedrop', function(e){ + var n = e.dropNode; + + // copy node from source tree + if(isSourceCopy(e, n)){ + var copy = new xt.TreeNode( + Ext.apply({allowDelete:true,expanded:true}, n.attributes) + ); + copy.loader = undefined; + if(e.target.attributes.options){ + e.target = createOption(e.target, copy.text); + //return false; + } + e.dropNode = copy; + return true; + } + + return isReorder(e, n); + }); + + ctree.on('contextmenu', prepareCtx); + + // track whether save is allowed + ctree.on('append', trackSave); + ctree.on('remove', trackSave); + ctree.el.swallowEvent('contextmenu', true); + ctree.el.on('keypress', function(e){ + if(e.isNavKeyPress()){ + e.stopEvent(); + } + }); + // when the tree selection changes, enable/disable the toolbar buttons + var sm = ctree.getSelectionModel(); + sm.on('selectionchange', function(){ + var n = sm.getSelectedNode(); + if(!n){ + btns.remove.disable(); + btns.option.disable(); + return; + } + var a = n.attributes; + btns.remove.setDisabled(!a.allowDelete); + btns.option.setDisabled(!a.cmpId); + }); + + + + // create the editor for the component tree + var ge = new xt.TreeEditor(ctree, { + allowBlank:false, + blankText:'A name is required', + selectOnFocus:true + }); + + ge.on('beforestartedit', function(){ + if(!ge.editNode.attributes.allowEdit){ + return false; + } + }); + + + // add component handler + function addComponent(){ + var id = guid('c-'); + var text = 'Component '+(++cseed); + var node = createComponent(id, text); + node.expand(false, false); + node.select(); + node.lastChild.ensureVisible(); + ge.triggerEdit(node); + } + + function createComponent(id, text, cfiles, cdep, coptions){ + var node = new xt.TreeNode({ + text: text, + iconCls:'cmp', + cls:'cmp', + type:'cmp', + id: id, + cmpId:id, + allowDelete:true, + allowEdit:true + }); + croot.appendChild(node); + + var files = new xt.AsyncTreeNode({ + text: 'Files', + allowDrag:false, + allowDrop:true, + iconCls:'folder', + type:'fileCt', + cmpId:id, + allowDelete:false, + children:cfiles||[], + expanded:true + }); + + var dep = new xt.AsyncTreeNode({ + text: 'Dependencies', + allowDrag:false, + allowDrop:true, + iconCls:'folder', + type:'fileCt', + cmpId:id, + allowDelete:false, + children:cdep||[], + expanded:true, + allowCopy:true + }); + + var options = new xt.AsyncTreeNode({ + text: 'Optional Dependencies', + allowDrag:false, + allowDrop:true, + iconCls:'folder', + type:'fileCt', + options:true, + cmpId:id, + allowDelete:false, + children:coptions||[], + expanded:true, + allowCopy:true + }); + + node.appendChild(files); + node.appendChild(dep); + node.appendChild(options); + + return node; + } + + // remove handler + function removeNode(){ + var n = sm.getSelectedNode(); + if(n && n.attributes.allowDelete){ + ctree.getSelectionModel().selectPrevious(); + n.parentNode.removeChild(n); + } + } + + + // add option handler + function addOption(){ + var n = sm.getSelectedNode(); + if(n){ + var node = createOption(n, 'Option'+(++oseed)); + node.select(); + ge.triggerEdit(node); + } + } + + function createOption(n, text){ + var cnode = ctree.getNodeById(n.attributes.cmpId); + + var node = new xt.TreeNode({ + text: text, + cmpId:cnode.id, + iconCls:'folder', + type:'fileCt', + allowDelete:true, + allowEdit:true, + id:guid('o-') + }); + cnode.childNodes[2].appendChild(node); + cnode.childNodes[2].expand(false, false); + + return node; + } + + // semi unique ids across edits + function guid(prefix){ + return prefix+(new Date().getTime()); + } + + + function trackSave(){ + btns.save.setDisabled(!croot.hasChildNodes()); + } + + function storeChildren(cmp, n, name){ + if(n.childrenRendered){ + cmp[name] = []; + n.eachChild(function(f){ + cmp[name].push(f.attributes); + }); + }else{ + cmp[name] = n.attributes.children || []; + } + } + + // save to the server in a format usable in PHP + function save(){ + var ch = []; + croot.eachChild(function(c){ + var cmp = { + text:c.text, + id: c.id, + options:[] + }; + + storeChildren(cmp, c.childNodes[0], 'files'); + storeChildren(cmp, c.childNodes[1], 'dep'); + + var onode = c.childNodes[2]; + if(!onode.childrenRendered){ + cmp.options = onode.attributes.children || []; + }else{ + onode.eachChild(function(o){ + var opt = Ext.apply({}, o.attributes); + storeChildren(opt, o, 'children'); + cmp.options.push(opt); + }); + } + ch.push(cmp); + }); + + layout.el.mask('Sending data to server...', 'x-mask-loading'); + var hide = layout.el.unmask.createDelegate(layout.el); + Ext.lib.Ajax.request( + 'POST', + 'save-dep.php', + {success:hide,failure:hide}, + 'data='+encodeURIComponent(Ext.encode(ch)) + ); + } + + function readNode(o){ + createComponent(o.id, o.text, o.files, o.dep, o.options); + } + + // context menus + + var ctxMenu = new Ext.menu.Menu({ + id:'copyCtx', + items: [{ + id:'expand', + handler:expandAll, + cls:'expand-all', + text:'Expand All' + },{ + id:'collapse', + handler:collapseAll, + cls:'collapse-all', + text:'Collapse All' + },'-',{ + id:'remove', + handler:removeNode, + cls:'remove-mi', + text: 'Remove Item' + }] + }); + + function prepareCtx(node, e){ + node.select(); + ctxMenu.items.get('remove')[node.attributes.allowDelete ? 'enable' : 'disable'](); + ctxMenu.showAt(e.getXY()); + } + + function collapseAll(){ + ctxMenu.hide(); + setTimeout(function(){ + croot.eachChild(function(n){ + n.collapse(false, false); + }); + }, 10); + } + + function expandAll(){ + ctxMenu.hide(); + setTimeout(function(){ + croot.eachChild(function(n){ + n.expand(false, false); + }); + }, 10); + } +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/dependency.php b/thirdpartyjs/extjs/examples/tree/dependency.php new file mode 100644 index 0000000..f060767 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/dependency.php @@ -0,0 +1,46 @@ +=$factor;$i++) + $val /= $factor; + $p = strpos($val, "."); + if($p !== false && $p > $digits) $val = round($val); + elseif($p !== false) $val = round($val, $digits-$p); + return round($val, $digits) . " " . $symbols[$i] . $bB; +} + + +$dir = $_REQUEST['lib'] == 'yui' ? '../../../' : '../../'; +$node = $_REQUEST['node']; +if(strpos($node, '..') !== false){ + die('Nice try buddy.'); +} + +$nodes = array(); +$d = dir($dir.$node); +while($f = $d->read()){ + if($f == '.' || $f == '..' || substr($f, 0, 1) == '.')continue; + $lastmod = date('M j, Y, g:i a',filemtime($dir.$node.'/'.$f)); + if(is_dir($dir.$node.'/'.$f)){ + $qtip = 'Type: Folder
    Last Modified: '.$lastmod; + $nodes[] = array('text'=>$f, id=>$node.'/'.$f, qtip=>$qtip, iconCls=>'folder', allowDrag=>false); + }else{ + $size = formatBytes(filesize($dir.$node.'/'.$f), 2); + $qtip = 'Type: JavaScript File
    Last Modified: '.$lastmod.'
    Size: '.$size; + $nodes[] = array('text'=>$f, id=>$node.'/'.$f, leaf=>true, qtip=>$qtip, qtipTitle=>$f, cls=>'file'); + } +} +$d->close(); +echo json_encode($nodes); +?> \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/get-nodes.php b/thirdpartyjs/extjs/examples/tree/get-nodes.php new file mode 100644 index 0000000..ab2029c --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/get-nodes.php @@ -0,0 +1,43 @@ +=$factor;$i++) + $val /= $factor; + $p = strpos($val, "."); + if($p !== false && $p > $digits) $val = round($val); + elseif($p !== false) $val = round($val, $digits-$p); + return round($val, $digits) . " " . $symbols[$i] . $bB; +} +$dir = $_REQUEST['lib'] == 'yui' ? '../../../' : '../../'; +$node = $_REQUEST['node']; +if(strpos($node, '..') !== false){ + die('Nice try buddy.'); +} +$nodes = array(); +$d = dir($dir.$node); +while($f = $d->read()){ + if($f == '.' || $f == '..' || substr($f, 0, 1) == '.')continue; + $lastmod = date('M j, Y, g:i a',filemtime($dir.$node.'/'.$f)); + if(is_dir($dir.$node.'/'.$f)){ + $qtip = 'Type: Folder
    Last Modified: '.$lastmod; + $nodes[] = array('text'=>$f, id=>$node.'/'.$f/*, qtip=>$qtip*/, cls=>'folder'); + }else{ + $size = formatBytes(filesize($dir.$node.'/'.$f), 2); + $qtip = 'Type: JavaScript File
    Last Modified: '.$lastmod.'
    Size: '.$size; + $nodes[] = array('text'=>$f, id=>$node.'/'.$f, leaf=>true/*, qtip=>$qtip, qtipTitle=>$f */, cls=>'file'); + } +} +$d->close(); +echo json_encode($nodes); +?> \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/images/cmp-bg.gif b/thirdpartyjs/extjs/examples/tree/images/cmp-bg.gif new file mode 100644 index 0000000..5eb8b88 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/cmp-bg.gif diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/dance_fever.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/dance_fever.jpg new file mode 100644 index 0000000..52e7081 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/dance_fever.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/gangster_zack.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/gangster_zack.jpg new file mode 100644 index 0000000..f5a9f80 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/gangster_zack.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/kids_hug.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/kids_hug.jpg new file mode 100644 index 0000000..ac3d582 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/kids_hug.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/kids_hug2.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/kids_hug2.jpg new file mode 100644 index 0000000..38152f5 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/kids_hug2.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_pink.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_pink.jpg new file mode 100644 index 0000000..a443c04 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_pink.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_pumpkin.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_pumpkin.jpg new file mode 100644 index 0000000..ce9a90b --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_pumpkin.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_smile.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_smile.jpg new file mode 100644 index 0000000..08919e2 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/sara_smile.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/up_to_something.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/up_to_something.jpg new file mode 100644 index 0000000..771ea91 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/up_to_something.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/zack.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack.jpg new file mode 100644 index 0000000..a7ce7bc --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_dress.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_dress.jpg new file mode 100644 index 0000000..b15f551 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_dress.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_hat.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_hat.jpg new file mode 100644 index 0000000..df475ba --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_hat.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_sink.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_sink.jpg new file mode 100644 index 0000000..01badd3 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/zack_sink.jpg diff --git a/thirdpartyjs/extjs/examples/tree/images/thumbs/zacks_grill.jpg b/thirdpartyjs/extjs/examples/tree/images/thumbs/zacks_grill.jpg new file mode 100644 index 0000000..5ca1ef6 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/images/thumbs/zacks_grill.jpg diff --git a/thirdpartyjs/extjs/examples/tree/organizer.css b/thirdpartyjs/extjs/examples/tree/organizer.css new file mode 100644 index 0000000..5253d0f --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/organizer.css @@ -0,0 +1,94 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +select{ + font-size:11px; +} +.image-tip{ + padding:4px; + height:98px; + white-space:nowrap; +} +.image-tip img { + margin-right:10px; + border:2px solid #083772; +} +.image-tip b{ + color: #083772; + display: block; + margin-bottom: 4px; +} +.image-tip span{ + display: block; + margin-bottom: 5px; + margin-left: 5px; +} +#images{ + background: #fff url(center-bg.gif) repeat-x top left; + font: 11px Arial, Helvetica, sans-serif; + overflow: auto; +} +#images .thumb{ + background: #dddddd; + padding:3px; +} +#images .thumb img{ + border:1px solid white; + height: 60px; + width: 80px; +} +#images .thumb-wrap{ + float: left; + margin: 4px; + margin-right: 0; + padding: 5px; +} +#images .thumb-wrap span{ + display: block; + overflow: hidden; + text-align: center; +} +#images .x-view-selected .thumb{ + background:#8db2e3; +} +#images .loading-indicator { + font-size:8pt; + background-image:url(../../resources/images/default/grid/loading.gif); + background-repeat: no-repeat; + background-position: left; + padding-left:20px; + margin:10px; +} +.x-dd-drag-proxy .multi-proxy .thumb-img{ + height: 20px; + width: 30px; + margin:1px; +} +.x-dd-drag-proxy .thumb-img{ + height: 60px; + width: 80px; +} +.image-node .x-tree-node-icon{ + margin-bottom:1px; + height:15px; +} +.album-node .x-tree-node-icon, .album-btn .x-btn-text{ + background-image:url(album.gif); +} +#layout{ + height:350px; + width:650px; + overflow:hidden; + position:relative; +} +#layout-rzwrap{ + background-color:#deecfd; +} +#folders{ + position:relative; +} \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/organizer.html b/thirdpartyjs/extjs/examples/tree/organizer.html new file mode 100644 index 0000000..345e0dd --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/organizer.html @@ -0,0 +1,31 @@ + + + +Organizing Images into Albums + + + + + + + + + + + + + + +

    Organizing Images into Albums

    +

    This example shows demonstrates how you can drop anything into the tree.

    +

    This example also shows how a customized DragZone can be +applied to a JsonView to get automatic lightweight drag and drop of asynchronously loaded data.

    +

    The js is not minified so it is readable. See organizer.js. The multi image drag drop added a little complexity to the code, but hopefully it is still easy to follow. +

    For simplicity, there is no validation on the names you enter in the tree node editor and you can drag the same picture +into an album as many times as you want.

    +

    Hold shift/control to select multiple images in the main images view. You can drag those images into the tree. + +

    +




    + + diff --git a/thirdpartyjs/extjs/examples/tree/organizer.js b/thirdpartyjs/extjs/examples/tree/organizer.js new file mode 100644 index 0000000..d303127 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/organizer.js @@ -0,0 +1,250 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.tree.TreeNodeUI.prototype.initEvents = +Ext.tree.TreeNodeUI.prototype.initEvents.createSequence(function(){ + if(this.node.attributes.tipCfg){ + var o = this.node.attributes.tipCfg; + o.target = Ext.id(this.textNode); + Ext.QuickTips.register(o); + } +}); + +var TreeTest = function(){ + // shorthand + var Tree = Ext.tree; + var newIndex = 3; + + return { + init : function(){ + Ext.QuickTips.init(); + var layout = new Ext.BorderLayout('layout', { + west: { + initialSize:200, + split:true, + titlebar:true + }, + center: { + alwaysShowTabs:true, + tabPosition:'top' + } + }); + + var albums = layout.getEl().createChild({tag:'div', id:'albums'}); + var tb = new Ext.Toolbar(albums.createChild({tag:'div'})); + tb.addButton({ + text: 'New Album', + cls: 'x-btn-text-icon album-btn', + handler: function(){ + var node = root.appendChild(new Tree.TreeNode({ + text:'Album ' + (++newIndex), + cls:'album-node', + allowDrag:false + })); + tree.getSelectionModel().select(node); + setTimeout(function(){ + ge.editNode = node; + ge.startEdit(node.ui.textNode); + }, 10); + } + }); + var viewEl = albums.createChild({tag:'div', id:'folders'}); + + var folders = layout.add('west', new Ext.ContentPanel(albums, { + title:'My Albums', + fitToFrame:true, + autoScroll:true, + autoCreate:true, + toolbar: tb, + resizeEl:viewEl + })); + + var images = layout.add('center', new Ext.ContentPanel('images', { + title:'My Images', + fitToFrame:true, + autoScroll:true, + autoCreate:true + })); + var imgBody = images.getEl(); + + var tree = new Tree.TreePanel(viewEl, { + animate:true, + enableDD:true, + containerScroll: true, + ddGroup: 'organizerDD', + rootVisible:false + }); + var root = new Tree.TreeNode({ + text: 'Albums', + allowDrag:false, + allowDrop:false + }); + tree.setRootNode(root); + + root.appendChild( + new Tree.TreeNode({text:'Album 1', cls:'album-node', allowDrag:false}), + new Tree.TreeNode({text:'Album 2', cls:'album-node', allowDrag:false}), + new Tree.TreeNode({text:'Album 3', cls:'album-node', allowDrag:false}) + ); + + tree.render(); + root.expand(); + + // add an inline editor for the nodes + var ge = new Ext.tree.TreeEditor(tree, { + allowBlank:false, + blankText:'A name is required', + selectOnFocus:true + }); + + // create the required templates + var tpl = new Ext.Template( + '
    ' + + '
    ' + + '{shortName}
    ' + ); + + var qtipTpl = new Ext.Template( + '
    '+ + 'Image Name:' + + '{name}' + + 'Size:' + + '{sizeString}
    ' + ); + qtipTpl.compile(); + + // initialize the View + var view = new Ext.JsonView(imgBody, tpl, { + multiSelect: true, + jsonRoot: 'images' + }); + + var lookup = {}; + + view.prepareData = function(data){ + data.shortName = data.name.ellipse(15); + data.sizeString = (Math.round(((data.size*10) / 1024))/10) + " KB"; + //data.dateString = new Date(data.lastmod).format("m/d/Y g:i a"); + data.qtip = new String(qtipTpl.applyTemplate(data)); + lookup[data.name] = data; + return data; + }; + + var dragZone = new ImageDragZone(view, {containerScroll:true, + ddGroup: 'organizerDD'}); + + view.load({ + url: '../view/get-images.php' + }); + + var rz = new Ext.Resizable('layout', { + wrap:true, + pinned:true, + adjustments:[-6,-6], + minWidth:300 + }); + rz.on('resize', function(){ + layout.layout(); + }); + rz.resizeTo(650, 350); + } + }; +}(); + +Ext.EventManager.onDocumentReady(TreeTest.init, TreeTest, true); + +/** + * Create a DragZone instance for our JsonView + */ +ImageDragZone = function(view, config){ + this.view = view; + ImageDragZone.superclass.constructor.call(this, view.getEl(), config); +}; +Ext.extend(ImageDragZone, Ext.dd.DragZone, { + // We don't want to register our image elements, so let's + // override the default registry lookup to fetch the image + // from the event instead + getDragData : function(e){ + e = Ext.EventObject.setEvent(e); + var target = e.getTarget('.thumb-wrap'); + if(target){ + var view = this.view; + if(!view.isSelected(target)){ + view.select(target, e.ctrlKey); + } + var selNodes = view.getSelectedNodes(); + var dragData = { + nodes: selNodes + }; + if(selNodes.length == 1){ + dragData.ddel = target.firstChild.firstChild; // the img element + dragData.single = true; + }else{ + var div = document.createElement('div'); // create the multi element drag "ghost" + div.className = 'multi-proxy'; + for(var i = 0, len = selNodes.length; i < len; i++){ + div.appendChild(selNodes[i].firstChild.firstChild.cloneNode(true)); + if((i+1) % 3 == 0){ + div.appendChild(document.createElement('br')); + } + } + dragData.ddel = div; + dragData.multi = true; + } + return dragData; + } + return false; + }, + + // this method is called by the TreeDropZone after a node drop + // to get the new tree node (there are also other way, but this is easiest) + getTreeNode : function(){ + var treeNodes = []; + var nodeData = this.view.getNodeData(this.dragData.nodes); + for(var i = 0, len = nodeData.length; i < len; i++){ + var data = nodeData[i]; + treeNodes.push(new Ext.tree.TreeNode({ + text: data.name, + icon: data.url, + data: data, + leaf:true, + cls: 'image-node', + qtip: data.qtip + })); + } + return treeNodes; + }, + + // the default action is to "highlight" after a bad drop + // but since an image can't be highlighted, let's frame it + afterRepair:function(){ + for(var i = 0, len = this.dragData.nodes.length; i < len; i++){ + Ext.fly(this.dragData.nodes[i]).frame('#8db2e3', 1); + } + this.dragging = false; + }, + + // override the default repairXY with one offset for the margins and padding + getRepairXY : function(e){ + if(!this.dragData.multi){ + var xy = Ext.Element.fly(this.dragData.ddel).getXY(); + xy[0]+=3;xy[1]+=3; + return xy; + } + return false; + } +}); + +// Utility functions + +String.prototype.ellipse = function(maxLength){ + if(this.length > maxLength){ + return this.substr(0, maxLength-3) + '...'; + } + return this; +}; \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/reorder.html b/thirdpartyjs/extjs/examples/tree/reorder.html new file mode 100644 index 0000000..e7cf447 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/reorder.html @@ -0,0 +1,27 @@ + + + +Reorder TreePanel + + + + + + + + + + + +

    Drag and Drop ordering in a TreePanel

    +

    This example shows basic drag and drop node moving in a tree. In this implementation there are no restrictions and +anything can be dropped anywhere except appending to nodes marked "leaf" (the files).

    +

    Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.

    +

    In order to demonstrate drag and drop insertion points, sorting was not enabled.

    +

    The data for this tree is asynchronously loaded with a JSON TreeLoader.

    +

    The js is not minified so it is readable. See reorder.js.

    + +
    + + + diff --git a/thirdpartyjs/extjs/examples/tree/reorder.js b/thirdpartyjs/extjs/examples/tree/reorder.js new file mode 100644 index 0000000..4f10d1b --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/reorder.js @@ -0,0 +1,31 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + // shorthand + var Tree = Ext.tree; + + var tree = new Tree.TreePanel('tree-div', { + animate:true, + loader: new Tree.TreeLoader({dataUrl:'get-nodes.php'}), + enableDD:true, + containerScroll: true + }); + + // set the root node + var root = new Tree.AsyncTreeNode({ + text: 'Ext JS', + draggable:false, + id:'source' + }); + tree.setRootNode(root); + + // render the tree + tree.render(); + root.expand(); +}); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/save-dep.php b/thirdpartyjs/extjs/examples/tree/save-dep.php new file mode 100644 index 0000000..d8d4d8f --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/save-dep.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/tree/two-trees.html b/thirdpartyjs/extjs/examples/tree/two-trees.html new file mode 100644 index 0000000..3527ff4 --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/two-trees.html @@ -0,0 +1,43 @@ + + + +Drag and Drop between 2 TreePanels + + + + + + + + + + + + +

    Drag and Drop betweens two TreePanels

    +

    The TreePanels have a TreeSorter applied in "folderSort" mode.

    +

    Both TreePanels are in "appendOnly" drop mode since they are sorted.

    +

    Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.

    +

    The data for this tree is asynchronously loaded with a JSON TreeLoader.

    +

    The js is not minified so it is readable. See two-trees.js.

    + +
    +
    + + + diff --git a/thirdpartyjs/extjs/examples/tree/two-trees.js b/thirdpartyjs/extjs/examples/tree/two-trees.js new file mode 100644 index 0000000..3108c5c --- /dev/null +++ b/thirdpartyjs/extjs/examples/tree/two-trees.js @@ -0,0 +1,72 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +var TreeTest = function(){ + // shorthand + var Tree = Ext.tree; + + return { + init : function(){ + // yui-ext tree + var tree = new Tree.TreePanel('tree', { + animate:true, + loader: new Tree.TreeLoader({dataUrl:'get-nodes.php'}), + enableDD:true, + containerScroll: true, + dropConfig: {appendOnly:true} + }); + + // add a tree sorter in folder mode + new Tree.TreeSorter(tree, {folderSort:true}); + + // set the root node + var root = new Tree.AsyncTreeNode({ + text: 'Ext JS', + draggable:false, // disable root node dragging + id:'source' + }); + tree.setRootNode(root); + + // render the tree + tree.render(); + + root.expand(false, /*no anim*/ false); + + //------------------------------------------------------------- + + // YUI tree + var tree2 = new Tree.TreePanel('tree2', { + animate:true, + //rootVisible: false, + loader: new Ext.tree.TreeLoader({ + dataUrl:'get-nodes.php', + baseParams: {lib:'yui'} // custom http params + }), + containerScroll: true, + enableDD:true, + dropConfig: {appendOnly:true} + }); + + // add a tree sorter in folder mode + new Tree.TreeSorter(tree2, {folderSort:true}); + + // add the root node + var root2 = new Tree.AsyncTreeNode({ + text: 'Yahoo! UI Source', + draggable:false, + id:'yui' + }); + tree2.setRootNode(root2); + tree2.render(); + + root2.expand(false, /*no anim*/ false); + } + }; +}(); + +Ext.EventManager.onDocumentReady(TreeTest.init, TreeTest, true); \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/view/chooser-example.js b/thirdpartyjs/extjs/examples/view/chooser-example.js new file mode 100644 index 0000000..50cd83f --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/chooser-example.js @@ -0,0 +1,34 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +Ext.onReady(function(){ + var chooser, btn; + + function insertImage(data){ + Ext.DomHelper.append('images', { + tag: 'img', src: data.url, style:'margin:10px;visibility:hidden;' + }, true).show(true); + btn.getEl().focus(); + }; + + function choose(btn){ + if(!chooser){ + chooser = new ImageChooser({ + url:'get-images.php', + width:515, + height:400 + }); + } + chooser.show(btn.getEl(), insertImage); + }; + + btn = new Ext.Button('buttons', { + text: "Insert Image", + handler: choose + }); +}); diff --git a/thirdpartyjs/extjs/examples/view/chooser.css b/thirdpartyjs/extjs/examples/view/chooser.css new file mode 100644 index 0000000..2a8b3a8 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/chooser.css @@ -0,0 +1,72 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +.details{ + padding: 10px; + text-align: center; +} +.details-info{ + border-top: 1px solid #cccccc; + font: 11px Arial, Helvetica, sans-serif; + margin-top: 5px; + padding-top: 5px; + text-align: left; +} +.details-info b{ + color: #555555; + display: block; + margin-bottom: 4px; +} +.details-info span{ + display: block; + margin-bottom: 5px; + margin-left: 5px; +} +.ychooser-dlg select{ + font-size: 12px; +} +.ychooser-view{ + background: white; + font: 11px Arial, Helvetica, sans-serif; + overflow: auto; +} +.ychooser-view .thumb{ + background: #dddddd; + padding: 3px; +} +.ychooser-view .thumb img{ + height: 60px; + width: 80px; +} +.ychooser-view .thumb-wrap{ + float: left; + margin: 4px; + margin-right: 0; + padding: 5px; +} +.ychooser-view .thumb-wrap span{ + display: block; + overflow: hidden; + text-align: center; +} +.ychooser-view .x-view-selected{ + background: #c3daf9; + border: 2px solid #6593cf; + padding: 3px; +} +.ychooser-view .x-view-selected .thumb{ + background:transparent; +} +.ychooser-view .loading-indicator { + font-size:11px; + background-image:url('../../resources/images/grid/loading.gif'); + background-repeat: no-repeat; + background-position: left; + padding-left:20px; + margin:10px; +} diff --git a/thirdpartyjs/extjs/examples/view/chooser.html b/thirdpartyjs/extjs/examples/view/chooser.html new file mode 100644 index 0000000..79c74f7 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/chooser.html @@ -0,0 +1,26 @@ + + + + + JsonView Example + + + + + + + + + + + + + + +

    JsonView Example

    +

    This example demonstrates how to use some of the advanced features of a JsonView. It also shows how + to use the LayoutDialog and DomHelper.Template classes.

    +
    +
    + + \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/view/chooser.js b/thirdpartyjs/extjs/examples/view/chooser.js new file mode 100644 index 0000000..dfdb631 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/chooser.js @@ -0,0 +1,204 @@ +/* + * Ext JS Library 1.1 Beta 1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * licensing@extjs.com + * + * http://www.extjs.com/license + */ + +var ImageChooser = function(config){ + // create the dialog from scratch + var dlg = new Ext.LayoutDialog(config.id || Ext.id(), { + autoCreate : true, + minWidth:400, + minHeight:300, + syncHeightBeforeShow: true, + shadow:true, + fixedcenter:true, + center:{autoScroll:false}, + east:{split:true,initialSize:150,minSize:150,maxSize:250} + }); + dlg.setTitle('Choose an Image'); + dlg.getEl().addClass('ychooser-dlg'); + dlg.addKeyListener(27, dlg.hide, dlg); + + // add some buttons + this.ok = dlg.addButton('OK', this.doCallback, this); + this.ok.disable(); + dlg.setDefaultButton(dlg.addButton('Cancel', dlg.hide, dlg)); + dlg.on('show', this.load, this); + this.dlg = dlg; + var layout = dlg.getLayout(); + + // filter/sorting toolbar + this.tb = new Ext.Toolbar(this.dlg.body.createChild({tag:'div'})); + this.sortSelect = Ext.DomHelper.append(this.dlg.body.dom, { + tag:'select', children: [ + {tag: 'option', value:'name', selected: 'true', html:'Name'}, + {tag: 'option', value:'size', html:'File Size'}, + {tag: 'option', value:'lastmod', html:'Last Modified'} + ] + }, true); + this.sortSelect.on('change', this.sortImages, this, true); + + this.txtFilter = Ext.DomHelper.append(this.dlg.body.dom, { + tag:'input', type:'text', size:'12'}, true); + + this.txtFilter.on('focus', function(){this.dom.select();}); + this.txtFilter.on('keyup', this.filter, this, {buffer:500}); + + this.tb.add('Filter:', this.txtFilter.dom, 'separator', 'Sort By:', this.sortSelect.dom); + + // add the panels to the layout + layout.beginUpdate(); + var vp = layout.add('center', new Ext.ContentPanel(Ext.id(), { + autoCreate : true, + toolbar: this.tb, + fitToFrame:true + })); + var dp = layout.add('east', new Ext.ContentPanel(Ext.id(), { + autoCreate : true, + fitToFrame:true + })); + layout.endUpdate(); + + var bodyEl = vp.getEl(); + bodyEl.appendChild(this.tb.getEl()); + var viewBody = bodyEl.createChild({tag:'div', cls:'ychooser-view'}); + vp.resizeEl = viewBody; + + this.detailEl = dp.getEl(); + + // create the required templates + this.thumbTemplate = new Ext.Template( + '
    ' + + '
    ' + + '{shortName}
    ' + ); + this.thumbTemplate.compile(); + + this.detailsTemplate = new Ext.Template( + '
    ' + + 'Image Name:' + + '{name}' + + 'Size:' + + '{sizeString}' + + 'Last Modified:' + + '{dateString}
    ' + ); + this.detailsTemplate.compile(); + + // initialize the View + this.view = new Ext.JsonView(viewBody, this.thumbTemplate, { + singleSelect: true, + jsonRoot: 'images', + emptyText : '
    No images match the specified filter
    ' + }); + this.view.on('selectionchange', this.showDetails, this, {buffer:100}); + this.view.on('dblclick', this.doCallback, this); + this.view.on('loadexception', this.onLoadException, this); + this.view.on('beforeselect', function(view){ + return view.getCount() > 0; + }); + Ext.apply(this, config, { + width: 540, height: 400 + }); + + var formatSize = function(size){ + if(size < 1024) { + return size + " bytes"; + } else { + return (Math.round(((size*10) / 1024))/10) + " KB"; + } + }; + + // cache data by image name for easy lookup + var lookup = {}; + // make some values pretty for display + this.view.prepareData = function(data){ + data.shortName = data.name.ellipse(15); + data.sizeString = formatSize(data.size); + data.dateString = new Date(data.lastmod).format("m/d/Y g:i a"); + lookup[data.name] = data; + return data; + }; + this.lookup = lookup; + + dlg.resizeTo(this.width, this.height); + this.loaded = false; +}; +ImageChooser.prototype = { + show : function(el, callback){ + this.reset(); + this.dlg.show(el); + this.callback = callback; + }, + + reset : function(){ + this.view.getEl().dom.scrollTop = 0; + this.view.clearFilter(); + this.txtFilter.dom.value = ''; + this.view.select(0); + }, + + load : function(){ + if(!this.loaded){ + this.view.load({url: this.url, params:this.params, callback:this.onLoad.createDelegate(this)}); + } + }, + + onLoadException : function(v,o){ + this.view.getEl().update('
    Error loading images.
    '); + }, + + filter : function(){ + var filter = this.txtFilter.dom.value; + this.view.filter('name', filter); + this.view.select(0); + }, + + onLoad : function(){ + this.loaded = true; + this.view.select(0); + }, + + sortImages : function(){ + var p = this.sortSelect.dom.value; + this.view.sort(p, p != 'name' ? 'desc' : 'asc'); + this.view.select(0); + }, + + showDetails : function(view, nodes){ + var selNode = nodes[0]; + if(selNode && this.view.getCount() > 0){ + this.ok.enable(); + var data = this.lookup[selNode.id]; + this.detailEl.hide(); + this.detailsTemplate.overwrite(this.detailEl, data); + this.detailEl.slideIn('l', {stopFx:true,duration:.2}); + + }else{ + this.ok.disable(); + this.detailEl.update(''); + } + }, + + doCallback : function(){ + var selNode = this.view.getSelectedNodes()[0]; + var callback = this.callback; + var lookup = this.lookup; + this.dlg.hide(function(){ + if(selNode && callback){ + var data = lookup[selNode.id]; + callback(data); + } + }); + } +}; + +String.prototype.ellipse = function(maxLength){ + if(this.length > maxLength){ + return this.substr(0, maxLength-3) + '...'; + } + return this; +}; \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/view/get-images.php b/thirdpartyjs/extjs/examples/view/get-images.php new file mode 100644 index 0000000..208ed83 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/get-images.php @@ -0,0 +1,15 @@ +read()){ + if(!preg_match('/\.(jpg|gif|png)$/', $name)) continue; + $size = filesize($dir.$name); + $lastmod = filemtime($dir.$name)*1000; + $images[] = array('name'=>$name, 'size'=>$size, + 'lastmod'=>$lastmod, 'url'=>$dir.$name); +} +$d->close(); +$o = array('images'=>$images); +echo json_encode($o); +?> \ No newline at end of file diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/dance_fever.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/dance_fever.jpg new file mode 100644 index 0000000..52e7081 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/dance_fever.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/gangster_zack.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/gangster_zack.jpg new file mode 100644 index 0000000..f5a9f80 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/gangster_zack.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/kids_hug.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/kids_hug.jpg new file mode 100644 index 0000000..ac3d582 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/kids_hug.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/kids_hug2.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/kids_hug2.jpg new file mode 100644 index 0000000..38152f5 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/kids_hug2.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/sara_pink.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/sara_pink.jpg new file mode 100644 index 0000000..a443c04 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/sara_pink.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/sara_pumpkin.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/sara_pumpkin.jpg new file mode 100644 index 0000000..ce9a90b --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/sara_pumpkin.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/sara_smile.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/sara_smile.jpg new file mode 100644 index 0000000..08919e2 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/sara_smile.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/up_to_something.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/up_to_something.jpg new file mode 100644 index 0000000..771ea91 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/up_to_something.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/zack.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/zack.jpg new file mode 100644 index 0000000..a7ce7bc --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/zack.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/zack_dress.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/zack_dress.jpg new file mode 100644 index 0000000..b15f551 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/zack_dress.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/zack_hat.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/zack_hat.jpg new file mode 100644 index 0000000..df475ba --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/zack_hat.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/zack_sink.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/zack_sink.jpg new file mode 100644 index 0000000..01badd3 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/zack_sink.jpg diff --git a/thirdpartyjs/extjs/examples/view/images/thumbs/zacks_grill.jpg b/thirdpartyjs/extjs/examples/view/images/thumbs/zacks_grill.jpg new file mode 100644 index 0000000..5ca1ef6 --- /dev/null +++ b/thirdpartyjs/extjs/examples/view/images/thumbs/zacks_grill.jpg