struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <>
Subject Iterate problem
Date Tue, 21 Aug 2001 17:28:11 GMT

got a wierd problem with the iterate tag.  We've used it loads without
problem and can't see why it doesn't work in one situation.

this doesn't work:

<logic:iterate name="myBean" property="myBeanCollection" id="myId">
the iterations start but throws the 'cannot find bean "myId" in scope null'

wierder still, this code works:
	Collection col = ((MyBeanClass)
pageContext.findAttribute("myBean")).getMyBeanCollection(); %>

<logic:iterate collection="<%=col%>" id="myId">

Doesn't seem to make sense to me!

Anyone else seen this?


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

View raw message