model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Canny Duck
Hi, I want to implement a process with more than one step and a model in a conversation scope. To realize that I used the Struts 2 scope plugin. To implement the post-redirect-get pattern I have a result type of redirect-action. This behave is required. The attached demo implementation worked

Re: model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Canny Duck
of these conversation implementations (I decided to write my own) but I suspect that you have defined the interceptors in the opposite order: I think you should first set to execute the defaultStack and then call the conversation interceptor. 2008/5/22, Canny Duck [EMAIL PROTECTED]: Hi, I want

Re: model conversation scope doesn' t work as property in a base action class

2008-05-22 Thread Canny Duck
s:property value=model.page / is the correct use, because I don't use the ModelDriven interface. The conversation object is just called like this. It would be great if you publish your current implmentation. :-) -- View this message in context:

Struts 2 - Velocity Templates rendered twice

2008-05-15 Thread Canny Duck
Hi, I realized a Struts 2 process to create a new contract. As template results I tried JSP and Velocity. All JSP templates are rendered correct, but the velocity templates are rendered twice. So I see the same content twice on the page. Are there people with similar problems? Does somebody has