[opencms-dev] cms:vfs get content of page element

Yves Glodt yg at mind.lu
Fri Jul 24 13:04:37 CEST 2009


Hello,

is there a way usiing the powerful cms:vfs to get the content of a page element?

Somehow like (guessing, this does not work):
${cms:vfs(pageContext).readResource['/en/op/start.html'].contents}
or
${cms:vfs(pageContext).readXml['/en/op/start.html'].value("content")}


I need to get the html of a page element to pass it to a taglib...

Best regards,
Yves



More information about the opencms-dev mailing list