LiveTable

Version 48.1 by Ecaterina Valica on 2009/04/28 13:45
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Live Table

Code

#includeMacros("XWiki.LiveTableMacros")
## optional GWT prop editor
#gwtpropeditor()
#set($collist = [ "_avatar", "first_name", "last_name", "email"])
#set($colprops = {
                  "first_name" : { "type" : "text" , "size" : 10, "link" : "view"},
                  "last_name" : { "type" : "text" , "size" : 10, "link" : "view"},
                  "email" : { "type" : "text" , "size" : 20, "link" : "editor"},
                  "_avatar" : { "type" : "none" , "size" : 20, "link" : "none", "html" : "true", "sortable":false }
                })
#set($options = { "className":"XWiki.XWikiUsers",
                 "translationPrefix" : "xe.index.users.",
                 "tagCloud" : true,
                 "rowCount": 5 })
#livetable("userstable" $collist $colprops $options)

Result

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [incubator:XWiki.LiveTable]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.