On May 19, 2010, at 6:01 PM, Gregor Schneider wrote:
Hi there,
me again.
I do have a small Velocity-Script displaying all pages within a space. That worked perfect until version 2.2.6:
{{velocity}} #if("$!request.space" != "") #set($space=$request.space) #else #set($space = $doc.space) #end $msg.get('xe.space.index.description', [$space]) #set($collist = ["doc.name","doc.date", "doc.author", "_actions"]) #set($colprops = { "doc.name" : { "type" : "text" , "size" : 30, "link" : "view"}, "doc.date" : { "type" : "date" }, "doc.author" : { "type" : "text", "link" : "author"}, "_actions" : {"actions": ["copy","delete","rename","rights"]} }) #set($options = { "translationPrefix" : "xe.index.", "rowCount": 15, "extraParams" : "&space=${space}" }) #livetable("spaceindex" $collist $colprops $options) {{/velocity}}
However, no it tells me "The environment prevents the table to load data.", although the pages are displayed below the error-message.
Could somebody please sged some light what's going wrong here?
Yep, you need to import some XAR pages, see the release notes at http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23#HBack... Also make sure you refresh your browser cache afterwards. Thanks -Vincent