Announcement Announcement Module
Collapse
No announcement yet.
Listener on model attributes Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Listener on model attributes

    Hi,

    What's the best practice in Spring 3 to check if a model attribute has changed after a spring:form submit?

    Is there a @Controller method that I can write thats invoked before the binding takes place, in order to compare my model attribute values with values that have been sent by the form post?

    Is there a way to look at historical values of the model object in the session?

    Thanks

    Raq

  • #2
    A gentle bump.

    Would a method annotated with @InitBinder be the best place to perform checks on previous and new values of properties of my command object?

    Appreciate any thoughts, or examples..

    Comment

    Working...
    X