Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / portal / portal.html
index b1c9928..84ba5ae 100644 (file)
@@ -1,25 +1,43 @@
-<html>\r
-<head>\r
-  <title>Custom Layouts and Containers - Portal Sample</title>\r
-       <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />\r
-\r
-    <!-- GC -->\r
-       <!-- LIBS -->\r
-       <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>\r
-       <!-- ENDLIBS -->\r
-\r
-    <script type="text/javascript" src="../../ext-all.js"></script>\r
-\r
-    <script type="text/javascript" src="Portal.js"></script>\r
-    <script type="text/javascript" src="PortalColumn.js"></script>\r
-    <script type="text/javascript" src="Portlet.js"></script>\r
-    <link rel="stylesheet" type="text/css" href="portal.css" />\r
-\r
-    <link rel="stylesheet" type="text/css" href="sample.css" />\r
-       <script type="text/javascript" src="sample.js"></script>\r
-       <script type="text/javascript" src="sample-grid.js"></script>\r
-</head>\r
-<body>\r
-<script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->\r
-</body>\r
-</html>
\ No newline at end of file
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>Portal Layout Sample</title>
+
+    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
+    <link rel="stylesheet" type="text/css" href="portal.css" />
+
+    <script type="text/javascript" src="../../builds/ext-core.js"></script>
+
+    <!-- shared example code -->
+    <script type="text/javascript" src="../shared/examples.js"></script>
+    <script type="text/javascript" src="classes.js"></script>
+
+    <script type="text/javascript" src="portal.js"></script>
+    <script type="text/javascript">
+        Ext.Loader.setPath('Ext.app', 'classes');
+
+        Ext.require([
+            'Ext.layout.container.*',
+            'Ext.resizer.Splitter',
+            'Ext.fx.target.Element',
+            'Ext.fx.target.Component',
+            'Ext.window.Window',
+            'Ext.app.Portlet',
+            'Ext.app.PortalColumn',
+            'Ext.app.PortalPanel',
+            'Ext.app.Portlet',
+            'Ext.app.PortalDropZone',
+            'Ext.app.GridPortlet',
+            'Ext.app.ChartPortlet'
+        ]);
+
+        Ext.onReady(function(){
+            Ext.create('Ext.app.Portal');
+        });
+    </script>
+</head>
+<body>
+    <span id="app-msg" style="display:none;"></span>
+</body>
+</html>