This is what I expect *should* happen.
On the initial request thread, the OEIMV filter acquires an EM instance, then the controller is invoked, which in turn invokes the tx method. The tx method...
Type: Posts; User: Rossen Stoyanchev; Keyword(s):
This is what I expect *should* happen.
On the initial request thread, the OEIMV filter acquires an EM instance, then the controller is invoked, which in turn invokes the tx method. The tx method...
StandaloneMockMvcBuilder has a method to add interceptors.
It looks like your configuration (controller-servlet.xml) includes a LiveBeansView, which attempts to get a property through PropertySourcesPropertyResolver for a JndiPropertySource. I'm not sure how...
Dear Web Flow community,
A maintenance release of Spring Web Flow 2.3.2 is now available via Maven and for download. See the Changelog for details.
Also a first milestone of Spring Web Flow 2.4...
When you use perform(fileUpload(..)), it sets up a MockMultipartHttpServletRequest. Since the request is already a MultipartHttpServletRequest, there is no need to parse it, which is what...
You can print all results from the test including all binding errors like so:
this.mockMvc.perform(\post("/register")
.param("email", "email@email.com")
.param("password",...
Thanks for trying 3.2.
ExceptionHandlerExceptionResolver is the right class to use! See the what's new in Spring 3.1 comment for an explanation on that vs...
I would extend AbstractMessageConverterMethodArgumentResolver and override the method createInputMessage. Then return a ServletServerHttpRequest sub-class that can read the body from a request...
Wesley, there are many factors to consider. Your HandlerMapping implementation looks right to me. I don't think you need to use a HandlerInterceptor to set the Page request attribute (you can just...
You should read my next blog post regarding HTTP request-response semantics. You can't complete the response while there is still an upload. Purely based on your description, I'm not sure there is a...
Have you noticed what's actually different in the content of taskComment and taskComment2? I can't quite see what could could possibly cause it override all the other comments. Without knowing...
Deal Web Flow community,
An overdue 2.3.1 maintenance release is now available through Maven, Ivy, and for download.
As mentioned in the official announcement Spring Web Flow is now hosted on...
If you could, please help demonstrate the issue at the issue repository and open a JIRA ticket.
Scott, I wonder if you have come across the mechanism available in spring-test-mvc? Here is a sample test that initializes the web application context in code. You can provide one or more...
Have you tried it? Does it not work?
SessionStatus is just a temporary object you use to indicate that you want the session attributes cleared. The most common way of using @SessionAttributes is to add an object to a model on a GET...
It's not entirely clear what you're trying to achieve. Based on what you've said it sounds like one controller with multiple URL patterns could do, i.e. add @RequestMapping(value={"/places",...
It's not clear what the exact problem you're running into is but in Spring 3.1 you can use the consumes/produces conditions. Check the reference documentation.
It would be better if you could figure out what resource mappings you need at startup.
An overdue 2.3.1 maintenance release should be coming soon.
To be followed by more 2.x releases later this year keeping up with a range of 3rd party dependencies, upgrading the code base to Java...
You didn't mention if the project should use spring-flex or not. Either way for a Spring 3.1 app, check out Greenhouse.
My guess is it would depend more on the specific objects you serialize than on how your application is configured. It would be easy to make your own performance tests with your own data. Feel free to...
In Spring 3.1 both <mvc:annotation-driven> and the MVC Java config make sure you get all the extra DispatcherServlet.properties defaults so you don't lose anything really any more.
you're welcome and thanks for the feedback!
I think you're looking for something like this:
<webflow:flow-executor id="flowExecutor" flow-registry="flowRegistry">
<webflow:flow-execution-repository max-executions="1"...