[opencms-dev] use cms:contentaccess with a CmsResource ?

Yves Glodt yg at mind.lu
Fri Aug 24 09:30:09 CEST 2012


Hi,

I need to display structured content from a different Site. So I can not
use the usual cms:contentload because it does not seem to accept absolute
paths.

I tried with success using CmsObject.getFilesInFolder("/absolute/path") to
get the files (CmsResource) however.

But, I would still prefer to use the cms:contentaccess tag.

Is it possible to pass a CmsResource or CmsFile to the cms:contentaccess
tag ? :-)

Best regards,
Yves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120824/fd6606d8/attachment.htm>


More information about the opencms-dev mailing list