1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | |
---|
3 | <!-- |
---|
4 | IBIS-PH View System's "home" module related Spring properties. These |
---|
5 | properties are all specific to the "home" type requests. These properties |
---|
6 | include home 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="Home.HTMLContent.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/home/html_content</value></list></property> |
---|
20 | </bean> |
---|
21 | <bean id="Home.Introduction.XML.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
22 | <constructor-arg ref="Home.HTMLContent.XML.Path"/> |
---|
23 | <constructor-arg value="Welcome.xml"/> |
---|
24 | </bean> |
---|
25 | |
---|
26 | <bean id="Home.HTMLContent.ModelMap" class="org.ibisph.systemid.modelmap.SystemIDFromHTTPRequestEndOfPathInfo" parent="Common.XMLModelMap.CommonProperties"> |
---|
27 | <property name="FilePath" ref="Home.HTMLContent.XML.Path"/> |
---|
28 | </bean> |
---|
29 | <bean id="Home.DefaultHTMLContent.ModelMap" class="org.ibisph.modelmap.DefaultModelIfNullModel" parent="Common.XMLModelMap.CommonProperties"> |
---|
30 | <property name="defaultModelIfNullModel" ref="Home.Introduction.XML.SystemID"/> |
---|
31 | </bean> |
---|
32 | |
---|
33 | |
---|
34 | <!-- C O N T R O L L E R S --> |
---|
35 | <bean id="Home.HTMLContent.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController"> |
---|
36 | <property name="modelMapList"> |
---|
37 | <list> |
---|
38 | <ref bean="Home.HTMLContent.ModelMap"/> |
---|
39 | <ref bean="Home.DefaultHTMLContent.ModelMap"/> |
---|
40 | <ref bean="Common.ModifiedDateFromFileSystemID.ModelMap"/> |
---|
41 | <ref bean="Common.HTTPRequestParameters.ModelMap"/> |
---|
42 | <ref bean="Common.WebAppURLContextPrefixFromHTTPRequest.ModelMap"/> |
---|
43 | </list> |
---|
44 | </property> |
---|
45 | <property name="view" ref="Home.HTMLContent.View"/> |
---|
46 | </bean> |
---|
47 | |
---|
48 | |
---|
49 | <!-- V I E W R E S O U R C E S --> |
---|
50 | <bean id="Home.HTMLContent.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
51 | <constructor-arg ref="Common.Webapp.RootPath"/> |
---|
52 | <constructor-arg value="xslt/html/home/HTMLContentPage.xslt"/> |
---|
53 | </bean> |
---|
54 | |
---|
55 | |
---|
56 | <!-- V I E W S --> |
---|
57 | <bean id="Home.HTMLContent.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
58 | <constructor-arg ref="Home.HTMLContent.XSLT.SystemID"/> |
---|
59 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
60 | </bean> |
---|
61 | </beans> |
---|
62 | |
---|