daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <webflow:flow-executor id="flowExecutor">
  2.     <webflow:flow-execution-listeners>
  3.         <webflow:listener ref="facesContextListener"/>
  4.         <webflow:listener ref="icefacesFlowListener" />
  5.     </webflow:flow-execution-listeners>
  6. </webflow:flow-executor>
  7.  
  8. <bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping">
  9.     <property name="flowRegistry" ref="flowRegistry"/>
  10.     <property name="order" value="0"/>
  11. </bean>
  12.  
  13. <bean id="facesContextListener"
  14.     class="org.springframework.faces.webflow.FlowFacesContextLifecycleListener" />
  15.  
  16. <faces:flow-builder-services id="flowBuilderServices" development="true" />
  17.  
  18. <webflow:flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices" base-path="/WEB-INF/flows">
  19.     <webflow:flow-location-pattern value="**/*-flow.xml" />
  20. </webflow:flow-registry>
  21.    
  22. <application>
  23.     <el-resolver>
  24.             org.springframework.web.jsf.el.SpringBeanFacesELResolver
  25.     </el-resolver>
  26. </application>
  27.    
  28. <welcome-file-list>
  29.     <welcome-file>flow/welcome</welcome-file>
  30. </welcome-file-list>
  31.  
  32. <servlet>
  33.     <servlet-name>Faces Servlet</servlet-name>
  34.     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  35.     <load-on-startup>1</load-on-startup>
  36. </servlet>
  37.  
  38. <servlet-mapping>
  39.     <servlet-name>Faces Servlet</servlet-name>
  40.     <url-pattern>*.xhtml</url-pattern>
  41. </servlet-mapping>
  42.  
  43. <filter>
  44.     <filter-name>springSecurityFilterChain</filter-name>
  45.     <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
  46. </filter>
  47.  
  48. <filter-mapping>
  49.     <filter-name>springSecurityFilterChain</filter-name>
  50.     <url-pattern>/*</url-pattern>
  51. </filter-mapping>
  52.  
  53. <servlet>
  54.     <servlet-name>flowDispatchServlet</servlet-name>
  55.     <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
  56.     <init-param>
  57.         <param-name>contextConfigLocation</param-name>
  58.         <param-value></param-value>
  59.     </init-param>
  60.     <load-on-startup>1</load-on-startup>
  61.     <multipart-config />
  62. </servlet>
  63.  
  64. <servlet-mapping>
  65.     <servlet-name>flowDispatchServlet</servlet-name>
  66.     <url-pattern>/flow/*</url-pattern>
  67. </servlet-mapping>
  68.  
  69. <servlet-mapping>
  70.     <servlet-name>flowDispatchServlet</servlet-name>
  71.     <url-pattern>/services/*</url-pattern>
  72. </servlet-mapping>
  73.  
  74. <resource-env-ref>
  75.     <resource-env-ref-name>BeanManager</resource-env-ref-name>
  76.     <resource-env-ref-type>
  77.         javax.enterprise.inject.spi.BeanManager
  78.     </resource-env-ref-type>
  79. </resource-env-ref>
  80.    
  81. <spring-integration.version>5.1.0.RELEASE</spring-integration.version>
  82.     <spring-orm.version>5.1.2.RELEASE</spring-orm.version>
  83.     <spring-security-cas-client.version>3.0.8.RELEASE</spring-security-cas-client.version>
  84.     <spring-security.version>5.1.2.RELEASE</spring-security.version>
  85.     <spring.version>5.1.2.RELEASE</spring.version>
  86.     <spring.webflow.version>2.5.1.RELEASE</spring.webflow.version>
  87.     <spring-ws-core.version>3.0.4.RELEASE</spring-ws-core.version>
  88.     <javax.faces.version>2.2.14</javax.faces.version>
  89.     <icefaces-ace.version>4.2.0</icefaces-ace.version>
  90.     <validation-api.version>2.0.1.Final</validation-api.version>
  91.    
  92. <view-state id="start" view="welcome.xhtml">
  93.     <transition on="test" to="testView" />
  94.  </<view-state>
  95.  <view-state id="testView" view="test.xhtml"/>
  96.    
  97. <h:form id="testForm">
  98.    ....
  99.   <h:commandButton id="btnTest" class="button" value="Test" action="test"/>
  100. </h:form>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top