I'm seeing evidence in several places that @DateTimeFormat should be doing conversions as well.
http://blog.springsource.com/2009/11/17/spring-3-type-conversion-and-validation/ -- see the...
Type: Posts; User: danielrobert; Keyword(s):
I'm seeing evidence in several places that @DateTimeFormat should be doing conversions as well.
http://blog.springsource.com/2009/11/17/spring-3-type-conversion-and-validation/ -- see the...
That's essentially what I ended up doing to solve my problem, however I believe I'm now unclear what the purpose of the @DateTimeFormat annotation is as an annotation of a @PathVariable controller...
I have a RESTful @Controller where I'm attempting to convert an incoming string into a Date object as follows:
@RequestMapping(value="/order/history/{userid}/{from}/", method =...
At least in Spring MVC 3.0.0, one of the parameters available to your controller's method is an instance of BindingResult. To see if there were binding errors, you just call...
I've seen various tickets open indicating that spring security 3.0.0 of various milestones were in the EBR, but I seem to be unable to locate the corresponding final version.
This is especially...
Someone responded to one of my other posts on the matter. This issue has been resolved as of the nightly build #442. You can find nightlies here:...
It seems the latest nightly has changed the way formatters are registered. There is no longer a GenericFormattingService but instead, there's a GenericFormatterRegistry. Unfortunately, I'm not...
I'm aware that the value is coming back as an array, that's mostly what this post was about. Watching the failed conversion exceptions, I see it attempting to validate my string, but by the time it...
I will update my project tonight and try it with the 441 build. Looking at the nightly changelog (http://build.springframework.org/browse/SPR-TRUNKSNAPSHOT-441) I don't see anything that would have...
I have created a very simple spring MVC 3.0.0RC1 webapp that has a form backed by a POJO with two properties: "url" (java.net.URI) and "number" (int). Filling in the value "a#" for both (no quotes)...
I have a brand new Spring 3.0 MVC app I'm starting using Freemarker as the view. I have a form that allows a user to enter a URL. Using the new ui.format approach, I've registered a URIFormatter...