Marius Dumitru Florea wrote:
Yes, that helped me. Thx!
My new Code:
#######################################################################
{{velocity}}
#set($collist = ["doc.name", "doc.space", "doc.date",
"doc.creator",
"doc.author", "_actions"])
#set($colprops = {
"doc.name" : { "type" : "text" ,
"size" : 30, "link" :
"view"},
"doc.space" : { "type" : "hidden",
"link" : "space"},
"doc.date" : { "type" : "date" },
"doc.creator" : { "type" : "text",
"link" : "creator"},
"doc.author" : { "type" : "text",
"link" : "author"},
"_actions" : {"actions":
["edit","delete","rename"]}
})
#set($options = { "topFilters":'<input type="hidden"
size="${colprop.size}"
name="doc.space" value="Projects-KnowHow" />',
"translationPrefix" : "xe.index.",
"rowCount": 10,
"selectedColumn": "doc.date",
"defaultOrder" : "desc"
})
#livetable("allprojectspages" $collist $colprops $options)
{{/velocity}}
#######################################################################
and a screenshot:
http://xwiki.475771.n2.nabble.com/file/n5186389/list-forum.jpg
And now I have 3 questions:
1) Why does the third column call "xe.index.doc.creator "?
"doc.author"
also calls "Last Author"
2) "NewPage" is a page created by me (in the "Project-KnowHow" space)
to
test the LiveTable and it works. But I don't want to see "WebHome" and
"List". Can I sort them out? Is there such a commanding?
3) Is there an easy way to make the "Actions" column visible for all
registered users? Yes I know that in the
http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro LiveTableMacro
Description is written:
"_actions A special column to display a list of actions that can be
performed by administrators on the matched documents."
But it would be nice...otherwise all users have to open eg. "NewPage" before
they can edit it.
Maybe I can give Admin rights only for this page?
---
All this points are little minor flaws. But it would be nice to fix them.
Thx for help
Aleks
--
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.