David Newton wrote:
Who's the big boy? Who's the big boy! You are! Yes you aaaarreee!
Thanks David. I appreciate that.
I used the ActionForm *only* for form input elements.
Ok, so you would put the list on the request as an attribute and use EL on the jsp to loop options?
I have a more complicated question. I have a table with 4 columns. userOption, From date, to Date, transactionId. I would like to make it so this table has 3 or 4 rows and then there is a button that will add a row to the table should they need additional rows through javascript. I envision this as a row on the html table represents an object. Lets call it lineItem with 4 attributes to each line item and then the form actionForm contains a list of lineItems. Can actionForms contain complex objects and then the property element on the html be something like lineItem.userId? I have been searching for similar requirements without much luck.
I'll word it a different way incase I'm as confusing as I figure I am. So ideally could I take a form that normally had a bunch of properties and instead the form has only 1 object with properties on the object. Secondly how would I then make it so the form could hold a list of those objects.