日期:2014-05-16  浏览次数:20371 次

关于Extjs4中desktop问题(续)
下面把我自己关于extjs4中desktop应用的index.jsp贴出来,希望能够帮助到某些朋友
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>ExtTop模拟window界面</title>
    <link rel="stylesheet" type="text/css" href="../ext/resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="css/desktop.css" />
    <script type="text/javascript" src="../ext/ext-all.js"></script>
    <script type="text/javascript" src="js/Module.js"></script>
    <script type="text/javascript" src="js/Video.js"></script>
    <script type="text/javascript" src="js/Wallpaper.js"></script>
    <script type="text/javascript" src="js/FitAllLayout.js"></script>
    <script type="text/javascript" src="js/StartMenu.js"></script>
    <script type="text/javascript" src="js/TaskBar.js"></script>
    <script type="text/javascript" src="js/ShortcutModel.js"></script>  
    <script type="text/javascript" src="js/Desktop.js"></script>
    <script type="text/javascript" src="js/App.js"></script>

    <script type="text/javascript" src="WallpaperModel.js"></script>
    <script type="text/javascript" src="VideoWindow.js"></script>
    <script type="text/javascript" src="BogusModule.js"></script>
    <script type="text/javascript" src="BogusMenuModule.js"></script>
    <script type="text/javascript" src="Settings.js"></script>
    <script type="text/javascript" src="TabWindow.js"></script>
    <script type="text/javascript" src="GridWindow.js"></script>
    <script type="text/javascript" src="AccordionWindow.js"></script>
    <script type="text/javascript" src="SystemStatus.js"></script>
    <script type="text/javascript" src="Notepad.js"></script>
    <script type="text/javascript" src="App.js"></script>

    <script type="text/javascript">
        Ext.Loader.setPath({
            'Ext.ux.desktop': 'js',
            MyDesktop: ''
        });

        Ext.require('MyDesktop.App');

        var myDesktopApp;
        Ext.onReady(function () {
            myDesktopApp = new MyDesktop.App();
        });
    </script>
</head>
<body>
</body>
</html>