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?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Archive-of-Pages-with-Live-Table-Macro-tp…
Sent from the XWiki- Users mailing list archive at 
Nabble.com.