I'm trying to print multiple tables from a loop like this:
<logic:iterate id="listelem" name="lists" scope="request"
type="java.lang.String">
<bean:write name='listelem'/>
<bean:define id="nm" ><bean:write name='listelem'/></bean:define
>
<display:table name="<%=nm%>" id="element" export="true">
<display:setProperty name="export.csv.filename"
value="<%=fname + "_" + lname + "_" + nm +".csv"%>" />
<display:column valign="top" property="dateStr"
titleKey="label.pd.date"/>
<display:column valign="top" property="caregiver.label"
titleKey=" label.pd.caseManager"/>
<display:column property="note" titleKey="label.pd.notes"/>
</display:table>
</logic:iterate>
The display is fine, but there is a problem with the reports -- they
all link to the report of the first table generated. Any ideas what
I'm doing wrong? Is this a bug?
Thanks,
Mark
<display:table name="<%=nm%>" id="element" export="true">
<display:setProperty name="export.csv.filename"
value="<%=fname + "_" + lname + "_" + nm +".csv"%>" />
<display:column valign="top" property="dateStr"
titleKey="label.pd.date"/>
<display:column valign="top" property="caregiver.label"
titleKey=" label.pd.caseManager"/>
<display:column property="note" titleKey="label.pd.notes"/>
</display:table>
</logic:iterate>
The display is fine, but there is a problem with the reports -- they
all link to the report of the first table generated. Any ideas what
I'm doing wrong? Is this a bug?
Thanks,
Mark

