spring-webflow

Spring webflow serialization trouble in production

隐身守侯 提交于 2021-02-08 04:34:07
问题 I have a grails app doing some stuff in the right way with webflow. So everything goes right in development mode, i can finish the registration and objects are serialized normally. But then, in production mode, deployed on a tomcat 7 with ssl, the following error appears when it's time to persist datas. In a nutshell the serialization don't work. Please help, i have no idea at the moment. The only difference of configuration is that i force https with spring security in production. ----------

Spring webflow serialization trouble in production

♀尐吖头ヾ 提交于 2021-02-08 04:32:20
问题 I have a grails app doing some stuff in the right way with webflow. So everything goes right in development mode, i can finish the registration and objects are serialized normally. But then, in production mode, deployed on a tomcat 7 with ssl, the following error appears when it's time to persist datas. In a nutshell the serialization don't work. Please help, i have no idea at the moment. The only difference of configuration is that i force https with spring security in production. ----------

Gracefully handle expired HttpSession in Spring WebFlow

十年热恋 提交于 2020-05-11 06:46:21
问题 (From SpringSource forum.) When the HttpSession has expired and the user re-submits a page in the flow, he/she is sent back to the beginning of the flow. All I want to add to this behavior is a message explaining why it occurred. "You were inactive, so you have been restarted..." What's the easiest/best-practice way to do this? 回答1: The default behavior, in FlowHandlerAdapter.defaultHandleException(), "attempts to start a new execution of the ended or expired flow". It looks like a WebFlow

is it possible to access value bundle properties in web-flow context?

非 Y 不嫁゛ 提交于 2020-01-15 10:45:08
问题 This is a part of my web-flow: <?xml version="1.0" encoding="UTF-8"?> <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd" parent="estatGeneral" start-state="a_cargar_info"> <attribute name="caption" value="consultaDeutesHandler.filAriadna" /> <action-state id="a_cargar_info"> <evaluate expression=

Apache Tiles wildcard with Spring WebFlow

十年热恋 提交于 2020-01-14 08:23:53
问题 Apache Tiles 2.1.3 has a wildcard feature where a tiles definition includes an asterisk: <definition name="flow/*" extends=".mainTemplate"> <put-attribute name="header" value="/WEB-INF/jsp/header.jsp" /> <put-attribute name="body" value="/WEB-INF/jsp/flow/{1}.jsp" /> </definition> It's explained here, but basically this layout is used for any JSP in the "flow" directory. The problem is Spring Webflow produced infinite recursion with Tiles: org.springframework.webflow.execution

Apache Tiles wildcard with Spring WebFlow

可紊 提交于 2020-01-14 08:23:08
问题 Apache Tiles 2.1.3 has a wildcard feature where a tiles definition includes an asterisk: <definition name="flow/*" extends=".mainTemplate"> <put-attribute name="header" value="/WEB-INF/jsp/header.jsp" /> <put-attribute name="body" value="/WEB-INF/jsp/flow/{1}.jsp" /> </definition> It's explained here, but basically this layout is used for any JSP in the "flow" directory. The problem is Spring Webflow produced infinite recursion with Tiles: org.springframework.webflow.execution

Apache Tiles wildcard with Spring WebFlow

时光毁灭记忆、已成空白 提交于 2020-01-14 08:23:08
问题 Apache Tiles 2.1.3 has a wildcard feature where a tiles definition includes an asterisk: <definition name="flow/*" extends=".mainTemplate"> <put-attribute name="header" value="/WEB-INF/jsp/header.jsp" /> <put-attribute name="body" value="/WEB-INF/jsp/flow/{1}.jsp" /> </definition> It's explained here, but basically this layout is used for any JSP in the "flow" directory. The problem is Spring Webflow produced infinite recursion with Tiles: org.springframework.webflow.execution

Spring4 Webflow Thymeleaf2 Tiles Ajax: Everything works except

巧了我就是萌 提交于 2020-01-07 05:39:25
问题 My Spring4 Thymeleaf2 Tiles and Ajax configuration is working except the very last step. My html page does not refresh. I know the method is called and the result is returned from my service method. I think my error is the way I treat the "id" in the helloworld tile. I will show my entire configuration as there are few xml configuration examples on the web, and one of them is wrong. Help on the last step would be deeply appreciated. Key parts of configuration: WebFlow Config <!-- Webflow

Spring Webflow: No actions were executed

对着背影说爱祢 提交于 2020-01-07 04:36:50
问题 I'm trying to implement an Action in SWF but I get the same error even in the simplest example. Error: "java.lang.IllegalStateException: No actions were executed, thus I cannot execute any state transition" import org.springframework.webflow.execution.Action; import org.springframework.webflow.execution.Event; import org.springframework.webflow.execution.RequestContext; public class HelloAction implements Action { @Override public Event execute(RequestContext rc) throws Exception { return new

spring webflow not working with Spring 4

人盡茶涼 提交于 2020-01-06 14:05:45
问题 I have recently upgraded to spring 4 and also spring webflow to 2.4.1 Here is the dependencies of webflow <dependency> <groupId>org.springframework.webflow</groupId> <artifactId>spring-webflow</artifactId> <version>2.4.1.RELEASE</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework.webflow</groupId> <artifactId>org.springframework.webflow</artifactId> <version>2.0.0.RELEASE</version> <scope>compile</scope> </dependency> <dependency> <groupId>org