Hello, I have a DynaActionForm such as: <form-bean name="dynaCWWHistoryForm" type= "org.apache.struts.action.DynaActionForm"> <form-property name="cancelButton" type= "org.apache.struts.util.ImageButtonBean"></form-property> <form-property name="displayContent" type="java.lang.Boolean"></ form-property> <form-property name="frmtPrinter" type="java.lang.String"></ form-property> <form-property name="historyItems" type="personal.history.HistoryVO[]" ></form-property> <form-property name="language" type="java.lang.String"></form-property> <form-property name="scheduleTypes" type="java.util.List"></ form-property> <form-property name="systemDate" type="java.lang.String"></ form-property> <form-property name="updateButton" type= "org.apache.struts.util.ImageButtonBean"></form-property> <form-property name="workWeekSchedule" type="java.lang.String"></ form-property> <form-property name="years" type="java.util.List"></form-property> </form-bean>
If I assign a size to the array such as: <form-property name="historyItems" type="personal.history.HistoryVO[]" size="4"></form-property> It works fine. My problem is two fold: 1. The HistoryVO[] can be of any size... therefore I cannot assgin a size to the <form-property> 2. The user can add rows dynamically to DOM using JavaScript... how can this also work with the DynaActionForm ? Much appreciated, Glenn