Try changing your "property" attribute to the following: '<%= "keyFields[" + index + "]" %>'
This is assuming you really do have an indexed property setter for the "keyFields" property. > -----Original Message----- > From: Justin Mahoney [mailto:[EMAIL PROTECTED] > > Thanks David, > I tried doing that, along the following lines: > > <html:link page="details.jsp" name="<%= Action.KEYS %>" > property="keyFields[index]"> > > But I get: > <Oct 1, 2003 2:23:40 PM PDT> <Error> <HTTP> > <[WebAppServletContext(3016177,mywebapp,/mywebapp)] Root cause of > ServletException > java.lang.IllegalArgumentException: Invalid indexed property > 'keyFields[index]' > -----Original Message----- > From: Karr, David [mailto:[EMAIL PROTECTED] > > You'll have to use the "indexId" attribute to allow you to > reference the > index value, and then directly reference the entry of the other > collection using that value. > > > -----Original Message----- > > From: Justin Mahoney [mailto:[EMAIL PROTECTED] > > > > Hi, > > I have two Collections (ArrayLists) with an equal number of > > elements that > > are directly related to each other, but the child elements have no > > references to each other. How can I use the logic:iterate tag > > to iterate > > over the first and pull out the corresponding element from > > the other for use > > in the html:link tag? > > Specifically, the second Collection is an ArrayList of Maps for the > > html:link tag's use with the 'property' attribute. > > Thanks, > > Justin > > > > --------------------------------------------------------------------- > 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]