Nov 15th, 2011, 10:31 AM
Binding fields to collection
I am very new to Spring. I looked for answers in forum; some threads seem to suggest http://forum.springframework.org/viewtopic.php?t=1149 might help. But that link is not active.
On my jsp I display a table of 1 row. The Table heading is displayed by "myCommandObject.columnList". I also have "myCommandObject.userInputDataMap<String,Strin gg>" where params are <columnName,user input data>.
At the time of rendering, userInputDataMap is created but is empty.
The table row is nothing but a list of empty text boxes. The user will fill the text boxes and save. How to take the user values and stick into userInputDataMap? Please note that I am iterating columnList to paint the table but want to set the values into userInputDataMap
Or what are other better ways to do this?
Last edited by new; Nov 15th, 2011 at 10:36 AM.
Tags for this Thread