leijie 8 年之前
父节点
当前提交
3851147da5

+ 31 - 0
display-server/src/main/webapp/template/server-config.xml

@ -0,0 +1,31 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<configs>
3
	<config name="name" value="DisplayServer"/>
4
	<!-- 发布之前修改为true,会提升一些性能 -->
5
	<config name="productMode" value="false"/>
6
	<!-- 客户端版本号 -->
7
	<config name="clientVersion" value="2.2"/>
8
	<!-- 客户端是否强制更新 -->
9
	<config name="isForceUpdate" value="true"/>
10
	<!-- 服务端应用编码 -->
11
	<config name="encode" value="UTF-8"/>
12
	<!-- 缓存类型,目前支持mem和jvm -->
13
	<config name="cache" value="jvm"/>
14
	<!-- 初始页 -->
15
	<config name="indexPage" value="Index"/>
16
	<!-- 文件是否加密 -->
17
	<config name="fileEncrypt" value="true"/>
18
	<!-- 自定义异常管理器 -->	
19
	<config name="exceptionHandler" value="com.ai.server.core.handle.IpuExceptionHandler"/>
20
	<!-- 自定义Session管理器 -->
21
	<config name="sessionManager" value="com.ai.server.core.session.IpuSessionManager"/>
22
	<!-- 自定义安全管理器 -->
23
	<config name="securityHandler" value="com.ai.server.core.security.IpuSecurityHandler"/>
24
	<!-- 是否运行标签引擎 -->
25
	<config name="isUseTag" value="true"/>
26
</configs>
27

28

29

30

31


+ 27 - 0
display-server/src/main/webapp/template/server-data.xml

@ -0,0 +1,27 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<datas>
3
    <!-- 上传下载 -->
4
	<action name="UploadDownloadBean.download" class="com.ai.server.bean.UploadDownloadBean" method="download" verify="false"></action>
5
	<action name="UploadDownloadBean.upload" class="com.ai.server.bean.UploadDownloadBean" method="upload" verify="false"></action>
6
	
7
	<!-- 登录场景*******************初始化验证码 -->
8
	<action name="SceneBean.initVerifyCode" class="com.ai.server.bean.SceneBean" method="initVerifyCode" verify="false"></action>
9
	<!-- 登陆 -->
10
	<action name="SceneBean.login" class="com.ai.server.bean.SceneBean" method="login" verify="false"  encrypt="true"></action>
11
	<!-- 刷新验证码 -->
12
	<action name="SceneBean.refreshVerifyCode" class="com.ai.server.bean.SceneBean" method="refreshVerifyCode" verify="false"></action>
13
	
14
	<!-- 数据请求场景***************测试您的人品 -->
15
	<action name="SceneBean.dataRequestScene" class="com.ai.server.bean.SceneBean" method="dataRequestScene" verify="false"></action>
16
	<!-- 页面跳转(调用数据接口)场景***************脑筋急转弯 -->
17
	<action name="SceneBean.openPageScene" class="com.ai.server.bean.SceneBean" method="openPageScene" verify="false"></action>
18
	<!-- 局部刷新(调用数据接口) -->
19
	<action name="SceneBean.getPersonDetailMore" class="com.ai.server.bean.SceneBean" method="getPersonDetailMore" verify="false"></action>
20
	
21
	<!-- Demo added by wyj -->   
22
	<action name="Demo.getInfoList" class="com.ailk.mobile.frame.bean.SimulatedBean" method="invoke" verify="false"></action> 
23
	<action name="Demo.delete" class="com.ailk.mobile.frame.bean.SimulatedBean" method="invoke" verify="false"></action> 
24
	<action name="Demo.update" class="com.ailk.mobile.frame.bean.SimulatedBean" method="invoke" verify="false"></action> 
25
	<action name="Demo.save" class="com.ailk.mobile.frame.bean.SimulatedBean" method="invoke" verify="false"></action> 
26
 
27
</datas>

+ 157 - 0
display-server/src/main/webapp/template/server-page.xml

@ -0,0 +1,157 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<pages>
3
    <!-- 主页 -->
4
    <action name="Index" template="template/webapp/Index.html"></action>
5
    
6
	<!-- Plugin Demo -->
7
	<action name="Basic" template="template/webapp/plugin/Basic.html"></action>
8
	<action name="Network" template="template/webapp/plugin/Network.html"></action>
9
	<!-- 地图 -->
10
	<action name="Map" template="template/webapp/plugin/Map.html"></action>
11
	<!-- 相机 -->
12
	<action name="Photo" template="template/webapp/plugin/Photo.html"></action>
13
	<!-- 文件 -->
14
	<action name="File" template="template/webapp/plugin/File/File.html"></action>
15
	<action name="FileDetail" template="template/webapp/plugin/File/FileDetail.html"></action>
16
	<!-- 存储 -->
17
	<action name="Storage" template="template/webapp/plugin/Storage.html"></action>
18
	<!-- 二维码 -->
19
	<action name="QR" template="template/webapp/plugin/QR.html"></action>
20
	<!-- 提供给UI使用 -->
21
	<action name="UI" template="template/webapp/plugin/UI/UI.html"></action>
22
	<action name="UI-CustomDialog" template="template/webapp/plugin/UI/UI-CustomDialog.html"></action>
23
	<action name="UI-CustomWindow" template="template/webapp/plugin/UI/UI-CustomWindow.html"></action>
24
	<action name="UI-SlidingMenu" template="template/webapp/plugin/UI/UI-SlidingMenu.html"></action>
25
	<action name="UI-CustomAlertDialog" template="template/webapp/plugin/UI/UI-CustomAlertDialog.html"></action>
26
	<!-- 音频 -->
27
	<action name="Audio" template="template/webapp/plugin/Audio.html"></action>
28
	<!-- 视频 -->
29
	<action name="Video" template="template/webapp/plugin/Video.html"></action>
30
	<!-- 上传下载 -->
31
	<action name="UploadDownload" template="template/webapp/plugin/UploadDownload.html"></action>
32
	<!-- 云巴推送 -->
33
	<action name="YunbaPush" template="template/webapp/plugin/YunbaPush.html"></action>
34
	<!-- 数据库 -->
35
	<action name="Database" template="template/webapp/plugin/Database.html"></action>
36
	<!-- 通讯录 -->
37
	<action name="Contacts" template="template/webapp/plugin/Contacts.html"></action>
38
	<!-- NFC -->
39
	<action name="NFC" template="template/webapp/plugin/NFC.html"></action>
40
	<!-- 语音识别&语音合成 -->
41
	<action name="Voice" template="template/webapp/plugin/Voice.html"></action>
42
	<!-- 分享 -->
43
	<action name="Share" template="template/webapp/plugin/Share.html"></action>
44
	<!-- 百度地图 -->
45
	<action name="BaiduMap" template="template/webapp/plugin/BaiduMap.html"></action>
46
	<!-- 邮件 -->
47
	<action name="Mail" template="template/webapp/plugin/Mail.html"></action>
48
	<!-- 视频 -->
49
	<action name="VideoCompressor" template="template/webapp/plugin/VideoCompress.html"></action>
50
	<!-- 快捷菜单 -->
51
	<action name="PathMenu" template="template/webapp/plugin/PathMenu.html"></action>
52
	<!-- iframeDemo -->
53
	<action name="Iframe" template="template/webapp/plugin/iframe.html"></action>
54
	<!-- Web Component Demo-->
55
	<action name="WmTab" template="template/webapp/tag/WmTab.html"></action>
56
	<action name="WmTabbar" template="template/webapp/tag/WmTabbar.html"></action>
57
	<action name="WmNavBar" template="template/webapp/tag/WmNavBar.html"></action>
58
	<action name="WmDialog" template="template/webapp/tag/WmDialog.html"></action>
59
	<action name="WmDialog2" template="template/webapp/tag/WmDialog2.html"></action>
60
	<action name="WmToolTip" template="template/webapp/tag/WmToolTip.html"></action>
61
	<action name="WmSlider" template="template/webapp/tag/WmSlider.html"></action>
62
	<action name="WmDropmenu" template="template/webapp/tag/WmDropmenu.html"></action>
63
	<action name="WmSlidingmenu" template="template/webapp/tag/WmSlidingmenu.html"></action>
64
	<action name="WmProgress" template="template/webapp/tag/WmProgress.html"></action>
65
	<action name="WmSwitch" template="template/webapp/tag/WmSwitch.html"></action>
66
	<action name="WmSegment" template="template/webapp/tag/WmSegment.html"></action>
67
	<action name="WmFlip" template="template/webapp/tag/WmFlip.html"></action>
68
	<action name="WmRange" template="template/webapp/tag/WmRange.html"></action>
69
	<action name="WmRefresh" template="template/webapp/tag/WmRefresh.html"></action>
70
	
71
	<action name="WmTabSrc" template="template/webapp/tag/WmTabSrc.html"></action>
72
	<action name="WmTabbarSrc" template="template/webapp/tag/WmTabbarSrc.html"></action>
73
	<action name="WmNavBarSrc" template="template/webapp/tag/WmNavBarSrc.html"></action>
74
	<action name="WmDialogSrc" template="template/webapp/tag/WmDialogSrc.html"></action>
75
	<action name="WmDialog2Src" template="template/webapp/tag/WmDialog2Src.html"></action>
76
	<action name="WmToolTipSrc" template="template/webapp/tag/WmToolTipSrc.html"></action>
77
	<action name="WmSliderSrc" template="template/webapp/tag/WmSliderSrc.html"></action>
78
	<action name="WmDropmenuSrc" template="template/webapp/tag/WmDropmenuSrc.html"></action>
79
	<action name="WmSlidingmenuSrc" template="template/webapp/tag/WmSlidingmenuSrc.html"></action>
80
	<action name="WmProgressSrc" template="template/webapp/tag/WmProgressSrc.html"></action>
81
	<action name="WmSwitchSrc" template="template/webapp/tag/WmSwitchSrc.html"></action>
82
	<action name="WmSegmentSrc" template="template/webapp/tag/WmSegmentSrc.html"></action>
83
	<action name="WmFlipSrc" template="template/webapp/tag/WmFlipSrc.html"></action>
84
	<action name="WmRangeSrc" template="template/webapp/tag/WmRangeSrc.html"></action>
85
	<action name="WmRefreshSrc" template="template/webapp/tag/WmRefreshSrc.html"></action>
86
	
87
	<!-- UI Demo -->
88
	<action name="Button" template="template/webapp/ui/Button.html"></action>
89
	<action name="Form" template="template/webapp/ui/Form.html"></action>
90
	<action name="Icon" template="template/webapp/ui/Icon.html"></action>
91
	<action name="List" template="template/webapp/ui/List.html"></action>
92
	<action name="PicList" template="template/webapp/ui/PicList.html"></action>
93
	<action name="Popup" template="template/webapp/ui/Popup.html"></action>
94
	<action name="Progress" template="template/webapp/ui/Progress.html"></action>
95
	<action name="Slider" template="template/webapp/ui/Slider.html"></action>
96
	<action name="Tab" template="template/webapp/ui/Tab.html"></action>
97
	<action name="Tip" template="template/webapp/ui/Tip.html"></action>
98
	<!-- Hammer手势 -->
99
	<action name="Hammer" template="template/webapp/ui/Hammer.html"></action>
100
	<action name="Gesture" template="template/webapp/ui/Gesture.html"></action>
101
	
102
 	<!-- More Demo-->
103
 	<!-- 图表展示 -->
104
 	<action name="Chart" template="template/webapp/more/chart/ChartIndex.html"></action>
105
 	<!-- Echarts -->
106
 	<action name="EchartsLine" template="template/webapp/more/chart/echarts/EchartsLine.html"></action>
107
 	<action name="EchartsHistogram" template="template/webapp/more/chart/echarts/EchartsHistogram.html"></action>
108
 	<action name="EchartsPie" template="template/webapp/more/chart/echarts/EchartsPie.html"></action>
109
 	<!-- Highcharts -->
110
 	<action name="HighchartsLine" template="template/webapp/more/chart/highcharts/HighchartsLine.html"></action>
111
 	<action name="HighchartsHistogram" template="template/webapp/more/chart/highcharts/HighchartsHistogram.html"></action>
112
 	<action name="HighchartsPie" template="template/webapp/more/chart/highcharts/HighchartsPie.html"></action>
113
 	<action name="HighchartsPie-3d" template="template/webapp/more/chart/highcharts/HighchartsPie-3d.html"></action>
114
 	<action name="HighchartsDashboard" template="template/webapp/more/chart/highcharts/HighchartsDashboard.html"></action>
115
 	<!-- icharts -->
116
 	<action name="ichartsLine" template="template/webapp/more/chart/icharts/ichartsLine.html"></action>
117
 	<action name="ichartsHistogram" template="template/webapp/more/chart/icharts/ichartsHistogram.html"></action>
118
 	<action name="ichartsPie" template="template/webapp/more/chart/icharts/ichartsPie.html"></action>
119
 	<action name="ichartsPie-3d" template="template/webapp/more/chart/icharts/ichartsPie-3d.html"></action>
120
 	
121
 	<!-- 模板语法 -->
122
 	<action name="Syntax" template="template/webapp/more/syntax/Syntax.html"></action>
123
 	<!-- 推送展示 -->
124
 	<action name="PushChat" template="template/webapp/more/push/PushChat.html"></action>
125
 	<action name="OnlineList" template="template/webapp/more/push/OnlineList.html"></action>
126
 	<action name="Chat" template="template/webapp/more/push/Chat.html"></action>
127
 	<action name="PushReceive" template="template/webapp/more/push/PushReceive.html"></action>
128
    <!-- ##################################场景演示########################################################### -->
129
	<action name="Scene" template="template/webapp/more/scene/Scene.html"></action>
130
	<!-- 报表场景 -->
131
	<action name="SceneBean_Demo" template="template/webapp/more/scene/demo/Demo.html"></action> 
132
	<action name="SceneBean_DemoAdd" template="template/webapp/more/scene/demo/DemoAdd.html"></action>
133
	<action name="SceneBean_DemoDetail" template="template/webapp/more/scene/demo/DemoDetail.html"></action>
134
	<!-- 登录场景 -->
135
	<action name="SceneBean_login_init" template="template/webapp/more/scene/Login.html"></action>
136
	<!-- 数据请求场景 -->
137
	<action name="SceneBean_dataRequest" template="template/webapp/more/scene/DataRequest.html"></action>
138
	<!-- 解锁屏场景 -->
139
	<action name="SceneBean_setScreenLock" template="template/webapp/more/scene/SetScreenLock.html"></action>
140
	<!-- 键盘 场景-->
141
	<action name="SceneBean_openKeyboard" template="template/webapp/more/scene/OpenKeyboard.html"></action>
142
	<!-- 页面跳转(直接数据渲染)场景 -->
143
	<action name="SceneBean_templateRedirect" template="template/webapp/more/scene/TemplateRedirect.html"></action>
144
	<!-- 页面跳转(调用数据接口)场景-->
145
	<action name="SceneBean_PageRedirect" template="template/webapp/more/scene/PageRedirect.html"></action>
146
	<!-- 页面跳转(调用数据接口)场景-->
147
	<action name="SceneBean_PageRedirectResult" template="template/webapp/more/scene/PageRedirectResult.html" data="SceneBean.openPageScene"></action>
148
	<!-- 局部页面刷新(直接数据渲染)场景 -->
149
	<action name="TemplateRefresh" template="template/webapp/more/scene/TemplateRefresh.html"></action>
150
	<action name="TemplateRefresh.PersonDetailTemplate" template="template/webapp/more/scene/PersonDetailTemplate.html"></action>
151
	<!-- 局部页面刷新调用数据接口)场景 -->
152
	<action name="PageRefresh" template="template/webapp/more/scene/PageRefresh.html"></action>
153
	<action name="PageRefresh.PersonDetailTemplateMore" template="template/webapp/more/scene/PersonDetailTemplateMore.html" data="SceneBean.getPersonDetailMore"></action>
154

155
    <action name="AppPlugins" template="template/webapp/AppPlugins.html"></action>
156

157
</pages>