Announcement Announcement Module
Collapse
No announcement yet.
format annotations and model via EL Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • format annotations and model via EL

    i have a model attribute that i want to invoke formatting on,
    but this model attribute isn't a "bound" field in a form.

    for instance, i may have a getDate() field on an element in the model,
    and i would call it out in a jsp like ${element.date}.

    i have annotated getDate with DateTimeFormat, have called out:
    <mvc:annotation-driven/> but the formatting doesn't seem to be taking place.

    would this only work on bound fields, or should this be working...?

    thanks,
    tony.

  • #2
    i believe this post answered my question:

    http://stackoverflow.com/questions/3...spring-mvc-3-0

    Comment

    Working...
    X