Search:

Type: Posts; User: danielrobert; Keyword(s):

Search: Search took 0.02 seconds.

  1. some docs really do contradict this

    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...
  2. Ok

    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...
  3. @DateTimeFormat for PathVariable not converting?

    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 =...
  4. Replies
    2
    Views
    1,164

    Depends on the version I think

    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...
  5. Replies
    4
    Views
    1,589

    Same here

    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...
  6. Fixed

    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:...
  7. Replies
    5
    Views
    927

    formattingservice replaced by formatterregistry

    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...
  8. Replies
    5
    Views
    927

    Fixed?

    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...
  9. Great news

    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...
  10. Replies
    5
    Views
    927

    form property as string[]?

    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)...
  11. 3.0.0RC1 invalid strings converted to array?

    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...
Results 1 to 11 of 11