When you use the <logic:iterate> tag, do you have to define the id that stores the result of the iteration before the tag? My code is:
<logic:present name="entries" property="mcEntries"> <logic:iterate id="mc" name="entries" property="mcEntries" type="com.moog.us.eos.beans.MCentry"> <bean:write name="mc.oldDept"/><br> <bean:write name="mc.oldMach"/><br> <bean:write name="mc.newDept"/><br> <bean:write name="mc.newMach"/><br> <bean:write name="mc.pivotDept"/><br> <bean:write name="mc.pivotMach"/><br> </logic:iterate> </logic:present> <logic:notPresent name="entries" property="mcEntries"> <b><i>NO ENTRIES</i></b><br> </logic:notPresent> If I don't define the id before the iterate tag, I get a runtime error that says: Cannot find bean mc.oldDept in scope null: However, if I do define the id, then I get a compile time error that complains about a duplicate variable. Maybe the "cannot find bean" error is referring to the "oldDept" part rather than the "mc", but I dont' know. What's going on? ~ Keith -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>