-
Nov 15th, 2011, 10:31 AM
#1
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?
Thank you.
Last edited by new; Nov 15th, 2011 at 10:36 AM.
Reason: clarification
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules