Tim,
It's hard to offer advice with such sketchy information. What revision of OFBiz are you using? How
is the data being prepared? What do you mean by "freemarker Map manipulation stuff"?
-Adrian
Tim McGuire wrote:
I have a report done in freemarker that is slightly more than 2000 rows.
I manipulate it with maps inside of maps and it bogs down the browser
and my system when I run the full report. When I chop away all the
freemarker Map manipulation stuff and just dump the 2000 rows to the
screen, it runs much faster, so I'm looking for a way to make my
freemarker more efficient. I've tried replacing maps with html strings,
but it does not seem to help.
Can ofbiz do output buffering? If not, how should I approach this
issue?
Thanks.
here is part of .ftl file:
(completionMap has 2271 members. $person right now ends up being a
string with the data rendered as a row in the report - just to see if it
speeds up.)
I believe the issue is with object wrapping but I don't know enough
about it to know how to fix it.
<#assign completionList = completionMap.keySet() />
<#list completionList as key>
<#assign person = personInfoMap[key]>
<tr>
${person}
</tr>
</#list>
</table>
Tim McGuire