1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | |
---|
3 | <!-- |
---|
4 | IBIS-PH View System's "Community Profile" module related Spring properties. |
---|
5 | These properties are all specific to the "community profile" type requests |
---|
6 | and include community profile specific resources, controllers, and views. |
---|
7 | --> |
---|
8 | |
---|
9 | <beans default-lazy-init="false" default-autowire="no" |
---|
10 | xmlns="http://www.springframework.org/schema/beans" |
---|
11 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
12 | xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" |
---|
13 | > |
---|
14 | |
---|
15 | <!-- M O D E L S / C O N T R O L L E R R E S O R U C E S --> |
---|
16 | <bean id="Community.XML.Path" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> |
---|
17 | <property name="targetObject" ref="Common.Context.Servlet"/> |
---|
18 | <property name="targetMethod" value="getRealPath"/> |
---|
19 | <property name="arguments"><list><value>xml/community</value></list></property> |
---|
20 | </bean> |
---|
21 | |
---|
22 | <bean id="Community.Dimensions.XML.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
23 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
24 | <constructor-arg value="xml/community/community_dimensions.xml"/> |
---|
25 | </bean> |
---|
26 | |
---|
27 | <bean id="Community.HTMLContent.XML.Path" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> |
---|
28 | <property name="targetObject" ref="Common.Context.Servlet"/> |
---|
29 | <property name="targetMethod" value="getRealPath"/> |
---|
30 | <property name="arguments"> <list><value>xml/community/html_content</value></list></property> |
---|
31 | </bean> |
---|
32 | <bean id="Community.Introduction.XML.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
33 | <constructor-arg ref="Community.HTMLContent.XML.Path"/> |
---|
34 | <constructor-arg value="Introduction.xml"/> |
---|
35 | </bean> |
---|
36 | |
---|
37 | <bean id="Community.Highlight.XML.Path" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> |
---|
38 | <property name="targetObject" ref="Common.Context.Servlet"/> |
---|
39 | <property name="targetMethod" value="getRealPath"/> |
---|
40 | <property name="arguments"><list><value>xml/community/highlight</value></list></property> |
---|
41 | </bean> |
---|
42 | |
---|
43 | |
---|
44 | <bean id="Community.HTMLContent.ModelMap" class="org.ibisph.systemid.modelmap.SystemIDFromHTTPRequestEndOfPathInfo"> |
---|
45 | <property name="XMLPath" ref="Community.HTMLContent.XML.Path"/> |
---|
46 | </bean> |
---|
47 | <bean id="Community.DefaultHTMLContent.ModelMap" class="org.ibisph.modelmap.DefaultModelIfNullModel"> |
---|
48 | <property name="defaultModelIfNullModel" ref="Community.Introduction.XML.SystemID"/> |
---|
49 | </bean> |
---|
50 | |
---|
51 | <bean id="Community.Dimensions.ModelMap" class="org.ibisph.modelmap.SimpleModelMap"> |
---|
52 | <property name="model" ref="Community.Dimensions.XML.SystemID"/> |
---|
53 | </bean> |
---|
54 | |
---|
55 | |
---|
56 | |
---|
57 | <!-- C O N T R O L L E R S --> |
---|
58 | <bean id="Community.HTMLContent.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController" parent="Common.FileSystemID.Controller.CommonProperties"> |
---|
59 | <property name="additionalModelMapList"> |
---|
60 | <list> |
---|
61 | <ref bean="Community.HTMLContent.ModelMap"/> |
---|
62 | <ref bean="Community.DefaultHTMLContent.ModelMap"/> |
---|
63 | </list> |
---|
64 | </property> |
---|
65 | <property name="view" ref="Community.HTMLContent.View"/> |
---|
66 | </bean> |
---|
67 | |
---|
68 | <bean id="Community.Snapshot.Builder.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController" parent="Common.FileSystemID.Controller.CommonProperties"> |
---|
69 | <property name="additionalModelMapList"> |
---|
70 | <list> |
---|
71 | <ref bean="Community.Dimensions.ModelMap"/> |
---|
72 | </list> |
---|
73 | </property> |
---|
74 | <property name="view" ref="Community.Snapshot.Builder.View"/> |
---|
75 | </bean> |
---|
76 | |
---|
77 | <bean id="Community.Highlight.Selection.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController" parent="Common.FileSystemID.Controller.CommonProperties"> |
---|
78 | <property name="additionalModelMapList"> |
---|
79 | <list> |
---|
80 | <ref bean="Community.Dimensions.ModelMap"/> |
---|
81 | </list> |
---|
82 | </property> |
---|
83 | <property name="view" ref="Community.Highlight.Selection.View"/> |
---|
84 | </bean> |
---|
85 | <bean id="Community.Highlight.Index.Controller" class="org.ibisph.communityprofile.modelmap.XMLModelAndDate"> |
---|
86 | <!-- |
---|
87 | <property name="view" ref="Community.Highlight.Index.View"/> |
---|
88 | --> |
---|
89 | </bean> |
---|
90 | <bean id="Community.Highlight.Introduction.Controller" class="org.ibisph.communityprofile.modelmap.XMLModelAndDate"> |
---|
91 | <!-- |
---|
92 | <property name="view" ref="Community.Highlight.Introduction.View"/> |
---|
93 | --> |
---|
94 | </bean> |
---|
95 | <bean id="Community.Highlight.Profile.Controller" class="org.ibisph.communityprofile.modelmap.XMLModelAndDate"> |
---|
96 | <!-- |
---|
97 | <property name="XMLFilePath"> <ref bean="Community.XML.Path"/> |
---|
98 | <property name="pageNameModelName"> <value>IndicatorViewName"/> |
---|
99 | <property name="view" ref="Community.Highlight.Profile.View"/> |
---|
100 | --> |
---|
101 | </bean> |
---|
102 | <bean id="Community.Highlight.Report.Controller" class="org.ibisph.communityprofile.modelmap.XMLModelAndDate"> |
---|
103 | <!-- |
---|
104 | <property name="view" ref="Community.Highlight.Report.View"/> |
---|
105 | --> |
---|
106 | </bean> |
---|
107 | |
---|
108 | <bean id="Community.Highlight.ChartGraphic.Controller" class="org.ibisph.communityprofile.springmvc.ChartGraphicController"> |
---|
109 | <property name="XMLPath" ref="Indicator.Profile.XML.Path"/> |
---|
110 | <!-- |
---|
111 | <property name="chartDataService" ref="Indicator.ChartData.ModelMap"/> |
---|
112 | --> |
---|
113 | <property name="view" ref="Chart.CommunityHighlight.Bar.View"/> |
---|
114 | </bean> |
---|
115 | |
---|
116 | |
---|
117 | |
---|
118 | <!-- V I E W R E S O U R C E S --> |
---|
119 | <bean id="Community.HTMLContent.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
120 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
121 | <constructor-arg value="xslt/html/community/HTMLContentPage.xslt"/> |
---|
122 | </bean> |
---|
123 | |
---|
124 | <bean id="Community.Snapshot.Builder.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
125 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
126 | <constructor-arg value="xslt/html/community/snapshot/builder/BuilderPage.xslt"/> |
---|
127 | </bean> |
---|
128 | <bean id="Community.Shapshot.Report.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
129 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
130 | <constructor-arg value="xslt/html/community/shapshot/report/ReportPage.xslt"/> |
---|
131 | </bean> |
---|
132 | |
---|
133 | <bean id="Community.Highlight.Selection.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
134 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
135 | <constructor-arg value="xslt/html/community/highlight/selection/SelectionPage.xslt"/> |
---|
136 | </bean> |
---|
137 | <bean id="Community.Highlight.Index.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
138 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
139 | <constructor-arg value="xslt/html/community/highlight/index/IndexPage.xslt"/> |
---|
140 | </bean> |
---|
141 | <bean id="Community.Highlight.Introduction.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
142 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
143 | <constructor-arg value="xslt/html/community/highlight/introduction/HTMLContentPage.xslt"/> |
---|
144 | </bean> |
---|
145 | <bean id="Community.Highlight.Profile.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
146 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
147 | <constructor-arg value="xslt/html/community/highlight/profile/ViewPage.xslt"/> |
---|
148 | </bean> |
---|
149 | <bean id="Community.Highlight.Report.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
150 | <constructor-arg ref="Common.Context.Servlet.RootPath"/> |
---|
151 | <constructor-arg value="xslt/html/community/highlight/report/ReportPage.xslt"/> |
---|
152 | </bean> |
---|
153 | |
---|
154 | |
---|
155 | |
---|
156 | <!-- V I E W S --> |
---|
157 | <bean id="Community.HTMLContent.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
158 | <constructor-arg ref="Community.HTMLContent.XSLT.SystemID"/> |
---|
159 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
160 | </bean> |
---|
161 | |
---|
162 | <bean id="Community.Snapshot.Builder.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
163 | <constructor-arg ref="Community.Snapshot.Builder.XSLT.SystemID"/> |
---|
164 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
165 | </bean> |
---|
166 | <bean id="Community.Shapshot.Report.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
167 | <constructor-arg ref="Community.Shapshot.Report.XSLT.SystemID"/> |
---|
168 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
169 | </bean> |
---|
170 | |
---|
171 | <bean id="Community.Highlight.Selection.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
172 | <constructor-arg ref="Community.Highlight.Selection.XSLT.SystemID"/> |
---|
173 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
174 | </bean> |
---|
175 | <bean id="Community.Highlight.Index.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
176 | <constructor-arg ref="Community.Highlight.Index.XSLT.SystemID"/> |
---|
177 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
178 | </bean> |
---|
179 | <bean id="Community.Highlight.Introduction.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
180 | <constructor-arg ref="Community.Highlight.Introduction.XSLT.SystemID"/> |
---|
181 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
182 | </bean> |
---|
183 | <bean id="Community.Highlight.Profile.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
184 | <constructor-arg ref="Community.Highlight.Profile.XSLT.SystemID"/> |
---|
185 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
186 | </bean> |
---|
187 | <bean id="Community.Highlight.Report.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
188 | <constructor-arg ref="Community.Highlight.Report.XSLT.SystemID"/> |
---|
189 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
190 | </bean> |
---|
191 | </beans> |
---|
192 | |
---|