Hi Rune,
Which xwiki syntax are you using? Try using 1.0 for the page which
contains the code below.
Oana
Rune Hylleberg wrote:
> First I got in trouble using my own class, but even if I copy the code
> from the livetable macro inline documentation :
>
>
>
> #set($columns = [ "_avatar", "first_name", "last_name", "email"])
>
> #set($columnsProperties = {
>
> "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": 15 })
>
> #livetable("userstable" $columns $columnsProperties $options)
>
>
>
> I get a empty table. It happens in both XE 2.0 M 4 and XE 2.0 RC 1
>
> Am I doing something wrong or is it a bug?
>
>
>
> -Rune
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users