mmmh, geht leider immer noch nicht. Es kommt immer der Fehler:
25.01.2011 09:03:53.765 INFO (de.espirit.firstspirit.generate.PreviewProduction): generating 'feed' (id=65248, HTML1, DE), content processor de.espirit.firstspirit.generate.EmptyContentProcessor@118977f
25.01.2011 09:03:53.766 WARN (de.espirit.firstspirit.generate.PreviewProduction): page is not referenced in sitestore
25.01.2011 09:03:53.766 ERROR ($CMS_VALUE(ref(title))$ at 7, 37): invalid target type for 'ref()': , class de.espirit.firstspirit.parser.eval.Undefined
inside of: Template 'Newsfeed' (id=65247)
inside of: $CMS_IF( ! st_pageref.isEmpty )$ - at 5, 1
inside of: $CMS_VALUE(ref(title))$ - at 7, 37
25.01.2011 09:03:53.767 ERROR ($CMS_FOR( body, st_pageref.page.children )$ at 8, 5): Cannot iterate over: class de.espirit.firstspirit.parser.eval.Undefined
inside of: Template 'Newsfeed' (id=65247)
inside of: $CMS_IF( ! st_pageref.isEmpty )$ - at 5, 1
inside of: $CMS_FOR( body, st_pageref.page.children )$ - at 8, 5
Mein Code sieht so aus:
<CMS_HEADER>
</CMS_HEADER>
<div>
$CMS_IF(!st_pageref.isEmpty)$
$CMS_SET(ref)$$CMS_REF(st_pageref)$$CMS_END_SET$
<a href="$CMS_REF(st_pageref)$">$CMS_VALUE(ref(title))$</a><br>
$CMS_FOR(body,st_pageref.page.children)$
$CMS_FOR(section,body.children)$
$CMS_IF(!section.data.get("dom").isEmpty)$$CMS_VALUE(section.data.get("dom").getEditor().get(#global.language))$<br>$CMS_END_IF$
$CMS_END_FOR$
$CMS_END_FOR$
$CMS_END_IF$
</div>