[opencms-dev] How to list files from a folder in opencms?

mihai lacusteanu mihailacusteanu at gmail.com
Tue Mar 7 16:48:56 CET 2017


I need to create a new resource type in opencms which have 1 field. The
field is for a target folder.
Every time I select a folder from VFS and save the resource(xml) the
formatter will render a the list of files from the specified folder.

I managed to create a jsp file which will create the list of files needed,
but only with the target folder hardcoded. I don't know how to read data
from the resource type(xml), which I can access using el expression.
Can you help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170307/bf6bcf40/attachment.htm>


More information about the opencms-dev mailing list