source: raptor-distribution/MSIs/raptor-web/tags/v1.2.1/source/web/webapp/raptor-web/WEB-INF/config/webflow-config.xml @ 1748

Revision 1748, 2.9 KB checked in by rhyssmith, 5 years ago (diff)

Tagging raptor-web v1.2.1-1 release of Raptor Web MSI

  • Property svn:executable set to *
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4    Copyright (C) 2010 Cardiff University, Wales <smartp@cf.ac.uk>
5
6    Licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8    You may obtain a copy of the License at
9
10            http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17
18-->
19<beans xmlns="http://www.springframework.org/schema/beans"
20       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21       xmlns:webflow="http://www.springframework.org/schema/webflow-config"
22       xmlns:faces="http://www.springframework.org/schema/faces"
23       xsi:schemaLocation="
24           http://www.springframework.org/schema/beans
25           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
26           http://www.springframework.org/schema/webflow-config
27           http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd
28           http://www.springframework.org/schema/faces
29           http://www.springframework.org/schema/faces/spring-faces-2.0.xsd">
30
31         <!-- Executes flows: the central entry point into the Spring Web Flow system -->
32    <webflow:flow-executor id="flowExecutor"/>
33
34    <!-- The registry of executable flow definitions -->
35    <webflow:flow-registry id="flowRegistry" flow-builder-services="facesFlowBuilderServices">
36        <webflow:flow-location path="/WEB-INF/flows/reports/global-flow.xml"
37            id="globalflow" />
38        <webflow:flow-location path="/WEB-INF/flows/reports/main-flow.xml"
39            id="reports" />
40            <webflow:flow-location path="/WEB-INF/flows/reports/graph-wizard-subflow.xml"
41            id="report-wizard-subflow" />
42    </webflow:flow-registry>
43
44    <!-- Configures the Spring Web Flow JSF integration view-factory-creator="mvcViewFactoryCreator"-->
45    <faces:flow-builder-services id="facesFlowBuilderServices"/>
46
47    <!-- Handles requests mapped to the Spring Web Flow system -->
48    <bean id="flowController" class="org.springframework.webflow.mvc.servlet.FlowController">
49        <property name="flowExecutor" ref="flowExecutor"/>
50        <property name="ajaxHandler">
51      <bean class="org.springframework.faces.richfaces.RichFacesAjaxHandler"/>
52    </property>
53    </bean>
54
55            <bean id="flowUrlMappings" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
56        <property name="mappings">
57            <value>
58                /reports=flowController
59            </value>
60        </property>
61        <property name="defaultHandler">
62            <bean class="org.springframework.web.servlet.mvc.UrlFilenameViewController" />
63        </property>
64    </bean>
65
66
67
68
69</beans>
Note: See TracBrowser for help on using the repository browser.