[opencms-dev] Speeding up container.hasMoreContent()?
Stanczak Group
justin at stanczakgroup.com
Tue Apr 17 17:18:58 CEST 2007
I'm using something like the following to iterate over some documents.
It's really slow. I have like 860 documents, how can I speed this up?
CmsJspXmlContentBean cmsContact = new CmsJspXmlContentBean(pageContext,
request, response);
I_CmsXmlContentContainer container =
cmsContact.contentload("allInFolderPriorityTitleDesc",
"=/directory/items/contact_${number}.html|7", false);
while (container.hasMoreContent()) {///Do some stuff with docs}
--
Justin Stanczak
Stanczak Group
812-735-3600
"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke
More information about the opencms-dev
mailing list