examples/bootstrap/Editor.html
[roojs1] / examples / bootstrap / Editor.html
index 2855e10..5918102 100644 (file)
         
         
     <script type="text/javascript" src="../../roojs-core-debug.js"></script>
+    <script type="text/javascript" src="../../roojs-bootstrap.js"></script>
+
     <!-- bootstrap js.. needs to compile it later.. -->
-    <script type="text/javascript" src="../../Roo/XComponent.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Component.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Body.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Container.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Column.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Navbar.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Menu.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/MenuItem.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/MenuSeparator.js"></script>
-    
-    <script type="text/javascript" src="../../Roo/bootstrap/NavSimplebar.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/NavGroup.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/NavItem.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/TabGroup.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/TabPanel.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Row.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Button.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/ButtonGroup.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Img.js"></script>
-    
-    <script type="text/javascript" src="../../Roo/bootstrap/Header.js"></script>
-    
-    <script type="text/javascript" src="../../Roo/bootstrap/Modal.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Form.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Input.js"></script>
-    
-    <script type="text/javascript" src="../../Roo/bootstrap/TriggerField.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/ComboBox.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/ComboBox2.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Calendar.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/Popover.js"></script>
-    
-    <script type="text/javascript" src="../../Roo/data/SortTypes.js"></script>
-    <script type="text/javascript" src="../../Roo/data/Record.js"></script>
-    <script type="text/javascript" src="../../Roo/data/Store.js"></script>
-    <script type="text/javascript" src="../../Roo/data/SimpleStore.js"></script>
-    <script type="text/javascript" src="../../Roo/data/JsonStore.js"></script>
-    <script type="text/javascript" src="../../Roo/data/Field.js"></script>
-    <script type="text/javascript" src="../../Roo/data/DataReader.js"></script>
-    <script type="text/javascript" src="../../Roo/data/DataProxy.js"></script>
-    <script type="text/javascript" src="../../Roo/data/MemoryProxy.js"></script>
-    <script type="text/javascript" src="../../Roo/data/HttpProxy.js"></script>
-    <script type="text/javascript" src="../../Roo/data/ScriptTagProxy.js"></script>
-    <script type="text/javascript" src="../../Roo/data/JsonReader.js"></script>
-    <script type="text/javascript" src="../../Roo/data/ArrayReader.js"></script>
-    
-    <script type="text/javascript" src="../../Roo/form/VTypes.js"></script>
-    <script type="text/javascript" src="../../Roo/View.js"></script>
-    
+     
+    <!--
     <script type="text/javascript" src="../../../Campaign/editor/Panel.js"></script>
     <script type="text/javascript" src="../../../Campaign/editor/TextBlock.js"></script>
     <script type="text/javascript" src="../../../Campaign/editor/ImageBlock.js"></script>
     
     <link rel="stylesheet" href="../../../Campaign/editor/editor.css">
+    -->
     
-    <script type="text/javascript" src="../../Roo/bootstrap/TextArea.js"></script>
-    <script type="text/javascript" src="../../Roo/HtmlEditorCore.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/HtmlEditor.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/htmleditor/ToolbarStandard.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/MenuMgr.js"></script>
-    <script type="text/javascript" src="../../Roo/bootstrap/MessageBox.js"></script>
     
     <!-- test code -->
     <script type="text/javascript" src="Editor.js"></script>
   
   <body id="body">
     <script type="text/javascript">
-        var baseURL = '/web.campaign/index.local.php';
-        var rootURL = '/web.campaign';
-        
+        Campaign = { Dialog : {} };
+          
         Roo.XComponent.hideProgress = true;
-        Roo.XComponent.build();
-        Roo.XComponent.on('buildcomplete', function() {
-            try {
-                Roo.log('runnnnnnnnnnnnnnnnnnnnnnnn');
-                var length = Roo.XComponent.modules.length;
-                Roo.XComponent.modules[length - 1].el.fireEvent('render');
-
-            } catch(e) {}
-
+        
+        Roo.onReady(function() {
+            Roo.XComponent.build();
         });
+        
+          
 
+        
     </script>
-  </body>
+    
+   </body>
 </html>
\ No newline at end of file