DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10622>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10622 Problem with nested iterate tags Summary: Problem with nested iterate tags Product: Struts Version: 1.1 Beta 1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, Environment : Tomcat 4.1.7 (Beta) and Struts 1.1 (Beta) I'm encountering errors when I'm using one iterate tag within another. For both tags, I'm also using the property 'indexId' which I assigned a variable name and this is where the problem lies. I'm getting an error as shown below: Generated servlet error: [javac] Compiling 1 source file D:\Tomcat 4.1 \work\Standalone\localhost\augolfgui\jsp\mer\mer_0005fadd$jsp.java:754: cannot resolve symbol symbol : variable terminalCount location: class org.apache.jsp.mer_0005fadd$jsp java.lang.Integer _jspx_terminalCount_1 = terminalCount; The correct code that should be produced is java.lang.Integer terminalCount = null; The source code which I've written is as follows: <logic:iterate id="storeList" collection="<%=merchant.getStoreList()%>" type="com.ai.golf.pd.StorePD" indexId="storeCount"> <logic:iterate id="terminalList" collection="<%=storeList.getTerminalList()%>" type="com.ai.golf.pd.TerminalPD" indexId="terminalCount"> Hopefully, my explanation is not too confusing. Just one last point, I do not have this problem when I was using Tomcat 3.2.3 and Struts 1.0. Thank you. Regards, Steve Chia -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
