PDA

View Full Version : binding dynamic textfield name and value to command class hashmap


Abhishek Jha
Sep 8th, 2006, 04:40 PM
hi all

pls help me with this problem. I have a form with dynamic textfields. I want to bind the name and value of these textfields to a hashmap of my command class for this form. The name of the text fields will be used as the key to the hashmap. The only variable i have in my command class will be the hashmap.

On submission of this form, i want to use the hashmap of my command class to persist the values in the database.

Please gimme some pointers on how to achieve this bind.

Thanks in advance