Announcement Announcement Module
No announcement yet.
Binding fields to collection Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Binding fields to collection

    I am very new to Spring. I looked for answers in forum; some threads seem to suggest 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, 10:36 AM. Reason: clarification