[opencms-dev] listing files with taglib

Sebastian Himberger sebastian.himberger at gmx.de
Sun Aug 16 22:16:53 CEST 2009


Hi Ruben,

I wrote a tutorial how create such a JSP tag on my blog: 
http://www.sebastian.himberger.de/blog/2008/12/12/use-the-power-of-jsp-tag-files-in-opencms/

Does this help?

Regards,
Sebastian

Ruben Malchow schrieb:
> hi,
>
> is there a way to list files from the vfs using tags? as in 
> cms:contentload, but for non-xml contents?
>
> the situation is this: i have a field in my content xml for related 
> images. i can have several of them, but i also want to be able to point 
> this to an entire folder. so instead of saying "this one is related, and 
> that one, and that one" i want to be able to just say "all of those".
>
> now, to do that, i must first distinguish wether the referenced file is 
> a file or a folder. if it is a file, i will just display it. if it is a 
> folder, i want to list all images in that folder and display thumbnails 
> for all.
>
> any ideas/hints/suggestions?
>
> .rm
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>   




More information about the opencms-dev mailing list