You might need to add this before your <logic:iterate>: <bean:define id="myCollectionElement" name="list" />
-----Original Message----- From: Shashank Dixit [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 7:44 AM To: Struts Users Mailing List Subject: Logic:Iterate - Pls Help......... Hello All Can somebody pls explain how to use <Logic:iterate> I am using following code <logic:iterate id="myCollectionElement" name="list" type="com.dl.bi.vo.ArticleVo" scope="page"> <bean:write name="myCollectionElement" property="articleId"/> <bean:write name="myCollectionElement" property="title"/><br /> </logic:iterate> What I understood from the documents is myCollection element will be create when in doStartTag of logic:iterate. And it will be stored in pageContext so that WriteTag will access it. But I got the error that "myCollectionElement" is not found in any scope Can somebody pls explain this. or correct me if I am wrong. Thanks in advance Shashank S. Dixit Senior Software Engineer Datamatics Ltd. Contact: 28291253 ext 133 Mobile: 9820930075 Be brave against all odds. Never give up. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]