I have a form with two select boxes that are used to move values from one box to another. I need to submit values only from second select box to my ModelAttribute. How do i prevent spring mvc from complaining about "unable to bind" on my first selectbox.
+1
A:
Are you populating the dummy select control using spring binding? If not, for example if you are using ReferenceData to populate it, you could use an html select tag and omit the name attribute, which would mean it would not be submitted with the form.
Mark Chorley
2010-08-20 11:03:29
thanks that worked.
2010-08-20 14:34:42