[opencms-dev] EL: retrieve the author of a structured content and more
Marc Schlegel
my.mailing.lists at gmx.de
Wed Oct 1 21:42:09 CEST 2008
Hello Everyone
First I have a question about best practise. The book about OpenCms 7 is
using mainly EL to retrieve content from structured contents instead
using the taglib. Is this a better approach, or in any case faster?
And now to my problem. I created a news-content-type and on the
details-page I would like to show the author so I tried the following
<cms:contentload collector="singleFile" param="%(opencms.uri)"
editable="true">
<cms:contentaccess var="news" />
...
Created by ${cms:vfs(pageContext).property[news.filename]["Author"]}
well, but this isnt working. What am I doing wrong here?
Thanks
More information about the opencms-dev
mailing list