Raj Kamal wrote:
Using Struts there should be properties in your Form Bean corresponding to the HTML FORM elements for retrieving the user entered data.
Michael Jack wrote:Hi, In my point of view, how about 'JQuery'? It maybe help you!
Raj Kamal wrote: I am not too sure about how STRUTS would be able to populate the ArrayList with the correct values on FORM submission. Using logic:iterate you would be able to get the values on the page but have you checked how it works the other way round?
In the DynaActionForm approach I mentioned, the form elements can be accessed as in a map.
The above code would return the value in TEXTAREA named "vendorID_1". Thats the reason I had mentioned naming the FORM elements appropriately.
Cheers,
Raj.
Raj Kamal wrote:
What happens when you use that logic?
Cheers,
Raj.
Raj Kamal wrote:
I wonder if you are able to get the values to and from the web page without adding any new rows.
Don't get me started about those stupid light bulbs. |