On 06/15/2010 05:04 PM, Aleks87 wrote:
Aleks87 wrote:
Hello, I am trying to create a LiveTable like this one: http://code.xwiki.org/xwiki/bin/view/Snippets/LiveTableAllDocsSnippet Live Table Snippet for All Docs Page I have readed the Description of http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro LiveTableMacro but I'm not able to create a Live Table List which shows me a linked list of all created pages in one Space (e.g. Main.WebHome)
-> Page Name , Date , Author , Last Modified (sort by Date)
Can someone help me please? My Lists are all empty.
I have this code: ####################################################################### {{velocity}} #set($collist = ["doc.name","doc.date", "doc.author", "_actions"]) #set($colprops = { "doc.name" : { "type" : "text" , "size" : 30, "link" : "view"}, "doc.space" : { "type" : "text", "link" : "space"}, "doc.date" : { "type" : "date" }, "doc.author" : { "type" : "text", "link" : "author"}, "_actions" : {"actions": ["edit","delete","rename"]} }) #set($options = { "translationPrefix" : "xe.index.", "rowCount": 10, "description": "This table lists all the documents found on this wiki. The columns can be sorted and some can be filtered.", "selectedColumn": "doc.date", "defaultOrder" : "desc" }) #livetable("alldocs" $collist $colprops $options) {{/velocity}} ####################################################################### who makes me a Live Table: Page , Date , Last Author , Actions [edit,delete,rename] sorted by date
But this table is showing me all wiki pages. Is it possible to make this live table showing me only pages in one space?
Check out this thread http://lists.xwiki.org/pipermail/users/2010-June/020947.html Hope this helps, Marius