Hello Jerome

We upgraded XWiki to version 2.2.2. I didn't change anything but now I have
opposite problem, no one  document is in livetable. 

I have "TestClass" in "TestSpace", template is "TestTemplate" in TestSpace.

Class properties for TestClass  
ID (ID: Number)
Servis Name (Name: String)
Servis Description (Description: TextArea)
Servis Manager (Manager: Static List)

Script for livetable:
 
{{velocity}}
#set($columns = ["ID", "Name", "Description", "Manager"])
#set($columnsProperties = {
                   "ID" : { "type" : "number" }, 
                   "Name" : { "type" : "text"},
                   "Description" : { "type" : "text" },
                   "Manager" : { "type" : "list"}
})
#set($options = {
                  "className":"TestSpace.TestClass",
                  "rowCount": 15
                  })
#livetable("Catalog" $columns $columnsProperties $options)
{{/velocity}}

I created two TestClass type documents in TestSpace (I can see them in
TestSpace.TestClass page), but page with livetable script has only header
row. 
Same script in 2.1.M1 version created table with header + rows with
documents and Template document too. 

Any idea what I do wrong?


Regards

Frantisek
-- 
View this message in context: 
http://n2.nabble.com/Livetable-tp4744002p4756208.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to