Changeset 48 for oceandb/webapproot
- Timestamp:
- Jan 21, 2009, 1:03:14 PM (16 years ago)
- Location:
- oceandb/webapproot
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
oceandb/webapproot/WEB-INF/project-managers.xml
r47 r48 1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 Server-side manager bean definitions. These are only to be used at runtime. 5 --> 6 <beans xmlns="http://www.springframework.org/schema/beans" 7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 8 xmlns:aop="http://www.springframework.org/schema/aop" 9 xsi:schemaLocation="http://www.springframework.org/schema/beans 10 http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 11 http://www.springframework.org/schema/aop 12 http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"> 13 14 <!-- extend beans to have the proper names; add in server-specific information --> 15 <bean id="serviceManager" 16 class="com.wavemaker.runtime.service.ServiceManager" 17 scope="singleton" 18 lazy-init="true" 19 parent="serviceManagerBase"> 1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2 <beans xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans"> 3 <bean scope="singleton" parent="serviceManagerBase" class="com.wavemaker.runtime.service.ServiceManager" id="serviceManager"> 20 4 <property name="services"> 21 5 <list merge="true"> 6 <value>runtimeService</value> 22 7 </list> 23 8 </property> 24 9 </bean> 10 <bean scope="singleton" parent="typeManagerBase" class="com.wavemaker.runtime.service.TypeManager" id="typeManager"> 11 <property name="types"> 12 <map merge="true"> 13 <entry key="runtimeService"> 14 <list> 15 <value>com.wavemaker.runtime.service.PagingOptions</value> 16 <value>com.wavemaker.runtime.service.PropertyOptions</value> 17 </list> 18 </entry> 19 </map> 20 </property> 21 </bean> 25 22 </beans> -
oceandb/webapproot/WEB-INF/project-services.xml
r47 r48 1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 Server definition of all services; 5 --> 6 7 <beans xmlns="http://www.springframework.org/schema/beans" 8 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 9 xmlns:util="http://www.springframework.org/schema/util" 10 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd"> 11 1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2 <beans xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans"> 3 <import resource="classpath:com/wavemaker/runtime/service/runtimeServiceBean.xml"/> 12 4 </beans> -
oceandb/webapproot/lib_project.js
r47 r48 1 1 if (djConfig.debugBoot) { 2 2 wm.loadScripts([ 3 3 "pages/Main/Main.js" 4 4 ]); 5 5 } -
oceandb/webapproot/pages/Main/Main.widgets.js
r47 r48 1 1 Main.widgets = { 2 layoutBox1: ["wm.Layout", {box: "v", height: "1flex"}, {}] 2 layoutBox1: ["wm.Layout", {box: "v", height: "1flex"}, {}, { 3 template1: ["wm.Template", {height: "96px"}, {}, { 4 header: ["wm.Panel", {_classes: {domNode: ["wm_Padding_8px", "wm_SilverBlueTheme_LightBlueInsetPanel"]}, box: "h", height: "78px", boxPosition: "topLeft"}, {}, { 5 panel4: ["wm.Panel", {box: "v", width: "1flex"}, {}, { 6 chineseheader: ["wm.Label", {_classes: {domNode: ["wm_FontFamily_Verdana", "wm_FontSize_300percent"]}, caption: "台灣海洋資訊資料庫聯盟網", link: "http://oceandb.info", height: "48px"}, {}, { 7 format: ["wm.DataFormatter", {}, {}] 8 }], 9 englishheader: ["wm.Label", {_classes: {domNode: ["wm_FontFamily_Verdana", "wm_FontSize_150percent", "wm_TextDecoration_Bold", "wm_TextDecoration_Underline", "wm_FontColor_LightGray"]}, caption: "Taiwan Ocean Informatioan Database", height: "16px"}, {}, { 10 format: ["wm.DataFormatter", {}, {}] 11 }] 12 }], 13 logo: ["wm.Picture", {source: "http://www.tori.narl.org.tw/images/tori_logo.png", aspect: "v", link: "http://www.tori.narl.org.tw", autoSize: true}, {}] 14 }] 15 }], 16 template2: ["wm.Template", {height: "1flex"}, {}, { 17 toolbar: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_ToolBar"]}, box: "h", height: "26px"}, {}, { 18 home: ["wm.Button", {_classes: {domNode: ["wm_TextDecoration_Bold", "wm_FontSize_120percent", "wm_FontFamily_Verdana", "wm_TextAlign_Center"]}, width: "63px", caption: "HOME"}, {}], 19 spacer1: ["wm.Spacer", {width: "10px"}, {}], 20 news: ["wm.Button", {_classes: {domNode: ["wm_FontFamily_Verdana", "wm_FontSize_120percent", "wm_TextDecoration_Bold", "wm_TextAlign_Center"]}, width: "62px", caption: "NEWS"}, {}], 21 spacer2: ["wm.Spacer", {width: "10px"}, {}], 22 about: ["wm.Button", {_classes: {domNode: ["wm_TextAlign_Center", "wm_TextDecoration_Bold", "wm_FontSize_120percent", "wm_FontFamily_Verdana"]}, width: "69px", caption: "ABOUT"}, {}] 23 }], 24 main: ["wm.Panel", {box: "h", height: "1flex"}, {}, { 25 menu: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_LightBlueInsetPanel"]}, box: "v", width: "246px"}, {}], 26 splitter1: ["wm.Splitter", {width: "6px"}, {}], 27 map: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_MainInsetPanel"]}, box: "v", width: "1flex"}, {}] 28 }] 29 }], 30 template3: ["wm.Template", {height: "29px"}, {}, { 31 footer: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_LightBlueInsetPanel"]}, box: "h", height: "20px", boxPosition: "center"}, {}, { 32 footerLabel: ["wm.Label", {_classes: {domNode: ["wm_FontColor_Blue", "wm_TextDecoration_Bold", "wm_FontSize_120percent", "wm_FontFamily_Verdana"]}, caption: "Copyright 2008 TORI & NCHC, NARL, Taiwan", width: "315px", height: "", autoSize: true}, {}, { 33 format: ["wm.DataFormatter", {}, {}] 34 }] 35 }] 36 }] 37 }] 3 38 }
Note: See TracChangeset
for help on using the changeset viewer.