I have edited the original post, there was an important bug. The constructor of PersistentConversation should be like this:
public PersistentConversation(ConversationId id, String flowName) {...
Type: Posts; User: alejandrogarciaseco; Keyword(s):
I have edited the original post, there was an important bug. The constructor of PersistentConversation should be like this:
public PersistentConversation(ConversationId id, String flowName) {...
Sorry for my late reply.
First of all, let's talk about what both classes have in common; both WebFlowConversation and PersistentConversation represents and contains all data of conversation every...
Well this is the code of the PersistentConversationHelper:
@Component
public class PersistentConversationHelper {
private static WebFlowConversationsBo webFlowConversationsBo;
...
Misha79, Iīm happy that itīs working for you, at least partially! It seems you are closer, just a little more work on it and it will be working 100%.
Well first of all take care about mixing...
Hi rotunba,
I finally was able to make it work. I created a post explaining the solution:...
Hi Misha79,
Which namespaces are you using in in your XML? With SWF 2.3 I'm using the next ones:
<beans xmlns="http://www.springframework.org/schema/beans"...
Well Misha79, it seems you have exactly the same requirements than me so, if I was able to make it work properly you can too!
Regarding to your issue about configuration, I can tell you that I'm...
Exactly, that's the same I think. In fact, I renamed the attribute from "cToQIndicator" (getcToQIndicator() getter) to "ctoqIndicator" (getCtoqIndicator() getter) for continuing working. As you well...
I'm using Java 1.6.0_32, Spring 3.1, Spring Webflow 2.3 and Tomcat 6.0... everything on Eclipse Indigo R2.
By the way, did you try to create a bean with the same attribute and generate getters and...
Exactly, I think that should be to use a upper case "C" but if I change to upper case, works with SWF but doesnīt work with JSTlL... very strange, I know. I have based the named convention on...
Hi all,
It is not a big problem for my development but I would like to confirm if it is an issue or bug of Spring Framework or whether it is the normal behavior. By the way, if it isn't the most...
Impossible to explain better, I totally agree.
You have an answer about that in my post Spring Webflow 2 Working With Persistent Conversation Data. Let's work together on my post, this way we concentrate the knowledge in order to make it useful...
Hi Misha79,
I'm proud about you found my post useful.
I was able to make it work and it's currently working in my application correctly in a development environment. At the moment it seems...
Hi all,
As default behavior, SWF stores conversation data in session and there could exist situations where it is needed to persist that conversation data in a non volatile data warehouse. For...
I didn't work neither, this was the set up:
Bean post processor's code:
package ie.i2e2.greenmode.web.configuration;
import org.springframework.beans.BeansException;
Well it seems that in cases of needing to customize the configuration provided by mvc:interceptors, it is recommended the usage of a BeanPostProcessor, I have read the same here:...
Yes, I removed the mvc:interceptors tag for avoiding conflicts, anyway thanks for the tip.
I am using mvc:annotation-driven just for avoiding a full manual configuration, I am not sure if it could...
Hi Marten,
I was looking for information about you mentioned in your last post. Do you mean doing something like this?:
<bean id="handlerMapping"...
Yep, thats it.
Now the question would be how to configure the OpenEntityManagerInViewInterceptor in that way... I am currently trying to find out the way of making it either detect only the...
I have tried the interceptor but the result is the same than the case when I configure both the OpenEntityManagerInViewFilter and the FlowScoped PersistenceContext:
...
Marten Deinum,
Thanks a lot for your prompt answer, that makes senses.
Yeah, you are completely right, there are notable nuances between OpenSessionInView, OpenSessionInView and...
Great, it worked!!
I have defined the /mvc/* prefix for all my controllers and the flows still reside on /* (as I now, there is no way for setting a custom prefix for flows as you suggested).
...
Ummm... That makes a lot of sense. I will try this and I tell you further.
Thank you for your help and your prompt answer!!
Regards.
Hi again,
I have just realized that open entity in view works fine for MVC controllers if I configure the OpenEntityManagerInViewFilter this way;
<filter>...