struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Susan Bradeen <Sus...@softlanding.com>
Subject Re: "No bean specified" error
Date Thu, 08 Apr 2004 13:24:39 GMT
"Prasad, Kamakshya" <kprasad@capitalservicing.co.jp> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message