You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Monica Colombo <mc...@iks-gmbh.com> on 2001/07/23 13:21:57 UTC

please help me with iterate!

Hi,

 my code looks like the following


                <logic:iterate id="current_ticket" name="TicketListResponse"
                               property="ticket">
				    <TR vAlign=top>
						<TD><bean:write name="current_ticket" property="ticketNumber"/></TD>
						<TD><bean:write name="current_ticket" property="creationDate"/></TD>
						<TD><bean:write name="current_ticket" property="initiatorId"/></TD>
						<TD align=middle><bean:write name="current_ticket"
property="subject"/></TD>
						<TD><bean:write name="current_ticket" property="editorId"/></TD>
						<TD align=middle><bean:write name="current_ticket"
property="state"/></TD>
						<TD align=middle><FONT color=#ff0000><B>
							    <bean:write name="current_ticket" property="priority"/>
								</B></FONT></TD>
						<TD align=middle><bean:write name="current_ticket"
property="lastChanged"/></TD>
				    </TR>
				</logic:iterate>


where TicketListResponse contains among other information a Ticket[].

The error message I receive is: "No getter method for proprierty ticket of
bean TicketListResponse". A getTicket method retourning a Ticket Array is
implemented in TicketListResponse.

Thanks for your help

Monica