DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36421>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36421 Summary: logic:iterate w/ indexed properties Product: Struts Version: 1.1 Final Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Utilities AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] I have a "Project" bean w/ a list property "primaryInvestigators" that is nested inside an ActionForm. This Project bean has the following methods: public java.util.List getPrimaryInvestigators() public my.package.PrimaryInvestigator getPRimaryInvestigators(int index) Now when I try to iterate over the list of primary investigoatrs in a JSP with the logic:iterate tag: <bean:define id="thisProject" name="myForm" property="project" type="my.package.Project"/> <logic:iterate id="thisPi" name="thisProject" property="primaryInvestigators"> <bean:write name="thisPi" /><br> </logic:iterate> , I get an exception: "No getter method for property primaryInvestigators of bean thisProject" Now, when I remove the second method (getting a primaryInvestigator by index), everything works properly. Why can't the logic:iterate tag see that the first method can return a List (Collection) and get an Iterator for it? This might actually be a Commons BeanUtils bug... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]