This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The problem I have is that some screen data is not reflected in the ActionForm once the jsp page has been submitted.
My ActionForm contains a vector of objects called DPTasks. I use the <html:iterate ../> tag to display the property DPTask.plannedHours. The data is displayed without a problem.
The user can change the value of plannedHours and my Action object needw to store the new value in the DB.
The problem I have is when my Action object's execute() method is called the Vector of DPTasks has a size of zero. Other attributes like ints, Strings, and floats reflect what the user entered and therefore seem to be working fine
I checked and my ActionForm's reset() method does not do anything with the DPTasks Vector.
Why did I loose the data in my Vector? How can I get the DPTasks vector to reflect what the user entered?