LiveTable

Version 148.1 by Thomas Mortagne on 2009/06/16 14:32
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

{{include document="XWiki.LiveTableMacros" /}}
{{velocity}}
## 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)
{{/velocity}}

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.