[opencms-dev] Creating paging for articles
Lubomir Kovac
kovman at centrum.cz
Sat Feb 3 23:28:21 CET 2007
Hi,
I would like to know how to create paging for articles.
I have created my xmlcontent file. Have no problem to show it and did
listing this way:
CmsJspXmlContentBean cms = new CmsJspXmlContentBean(pageContext,
request, response);
CmsJspTagContentLoad container = (CmsJspTagContentLoad)
cms.contentload("allInFolderDateReleasedDesc", "${opencms.uri}|file|10",
false);
while (container.hasMoreContent()) {
...
cms.contentshow(container, "title"); //to display some content
...
}
Now I need to create a paging for my files and I have no clue how. I was
searching and trying to use CmsJspTagContentLoad but with no success.
thanks for ideas
kov
More information about the opencms-dev
mailing list