Looping over files - OpenCMS
Posted
by John Manak
on Stack Overflow
See other posts from Stack Overflow
or by John Manak
Published on 2010-03-19T09:45:36Z
Indexed on
2010/03/22
12:01 UTC
Read the original article
Hit count: 478
opencms
Hi!
I'm developing a website using OpenCMS and am having a problem with creating links to files over which I loop using cms:contentload:
<cms:contentload collector="allInFolder" param="faqs/|FaqFile" editable="false">
<b><a href="${opencms.filename}"><cms:contentshow element="Title" /></a></b><br />
</cms:contentload>
This is a part of the index.jsp file. All the links unfortunately lead to index.jsp and not to the individual FAQ files. Do you know how to change this so that it works as expected?
Thanks, John
© Stack Overflow or respective owner