"Prasad, Kamakshya" <[EMAIL PROTECTED]> wrote on 04/07/2004 09:24:54 PM:
> Hi, > > I have this line in my jsp > > <table> > <logic:iterate id="courseDetailsLocal" name="employeeDetailsForm" > property="courseDetailsArray" indexId="ctr"> > <tr> > <td><html:text name="employeeDetailsForm" property='<%= > "courseDetails[" + ctr + "].name" %>'/></td> > Maybe try changing your "name" attribute? Should the above line be: <td><html:text name="courseDetailsLocal" property='<%="courseDetails[" + ctr + "].name" %>'/></td> Susan Bradeen > </tr> > </logic:iterate> > </table> > > When I am submitting the form it gives me the error > java.lang.IllegalArgumentException: No bean specified > > Could anyone please help me on this? > > The EmployeeDetailsForm has this code > > public class EmployeeDetailsForm extends ActionForm > { > private CourseDetailsForm courseDetailsFormArray[] = new > CourseDetailsForm[2]; > > public void setCourseDetails(int iIndex, CourseDetailsForm > courseDetailsForm) > { > courseDetailsFormArray[iIndex] = courseDetailsForm; > } > > public CourseDetailsForm getCourseDetails(int iIndex) > { > return courseDetailsFormArray[iIndex]; > } > > public CourseDetailsForm[] getCourseDetailsArray() > { > return courseDetailsFormArray; > } > > KP > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]