Announcement Announcement Module
No announcement yet.
Partial submits: onFormChange() and referenceData() Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Partial submits: onFormChange() and referenceData()

    I am trying to find an example of how to do "partial submits" in Spring MVC. Specifically, I am trying to conditionally populate a select box based on the selection in a different select box. I understand I need to put some conditional logic in my isFormChangeRequest(), onFormChange() and referenceData() methods of my form controller.

    This sounds like a pretty common use case, but I wasn't able to find any examples on how to do this. Can anyone provide a simple example (or point to an existing one?) of what I should have in my controller and my JSP page?

    Thanks a bunch.