Hi,
i'm trying to use LiveTable to improve our user experience.
This is my code:
#set($collist = ["name", "email" , "subject",
"status", "question", "answer", "generalize"])
#set($colprops = {
 "name" : { "type" : "text", "size" : 20, "
link" : "view"},
 "email" :{ "type" : "text", "size" : 20, "
link" : "view"},
 "subject" :{ "type" : "text", "size" : 20,
"link" : "none"},
 "status" :{ "type" : "text", "size" : 20,
"link" : "none"},
 "question" :{ "type" : "text", "size" : 20,
"link" : "none", "html" : "true",
"sortable":false },
 "answer" :{ "type" : "text", "size" : 20,
"link" : "none", "html" : "true",
"sortable":false },
 "generalize" : { "type" : "list", "class":
"CdlsatdCode.CdLS_ATD_UserQuestionsClass"}
                 })
#set($options = {
 "className":"CdlsatdCode.CdLS_ATD_UserQuestionsClass",
 "rowCount": 15 })
<p/>
#livetable("myLTQuestions" $collist $colprops $options)
It does show the table, but without any rows!
The last column does recognize the List box as defined in the Class, because when I click
it it shows the list of values defined in the class
If I use a jsonQuery as in the example below, I get two records as defined in the filter.
I tried to replace the above options value className with resultPage pointing to page
containing the jsonQuery below... but with the same result, no rows returned
===
{{include document="XWiki.LiveTableResultsMacros" /}}
{{velocity}}
#gridresultwithfilter("CdlsatdCode.CdLS_ATD_UserQuestionsClass"
$request.collist.split(",") "" " and
doc.creator='$context.user'")
{{/velocity}}
the page I get shows me:
{
"totalrows": 2,
"matchingtags": {
},
"tags" : [
],
"returnedrows":  0 ,
"offset": 1,
"reqNo": $request.reqNo,
"rows": [
{
"doc_viewable" : true,
"doc_name" : "GerritjanKoekkoek_doc261",
"doc_fullname" : "xwiki:CdlsatdPrivate.GerritjanKoekkoek_doc261",
"doc_space" : "CdlsatdPrivate",
"doc_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/CdlsatdPrivate\/GerritjanKoekkoek_doc261",
"doc_space_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/CdlsatdPrivate\/",
"doc_hasadmin"  : true,
"doc_edit_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/inline\/CdlsatdPrivate\/GerritjanKoekkoek_doc261",
"doc_copy_url"   :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/XWiki\/CopyDocument?sourcedoc=xwiki%3ACdlsatdPrivate.GerritjanKoekkoek_doc261",
"doc_delete_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/delete\/CdlsatdPrivate\/GerritjanKoekkoek_doc261",
"doc_rename_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/CdlsatdPrivate\/GerritjanKoekkoek_doc261?xpage=rename&step=1",
"doc_rights_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/edit\/CdlsatdPrivate\/GerritjanKoekkoek_doc261?editor=rights",
"doc_author_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/XWiki\/GerritjanKoekkoek",
"doc_date" : "2009\/07\/18 16:44",
"doc_title" : "GerritjanKoekkoek_doc261",
"doc_author" : "Gerritjan Koekkoek",
"doc_creationDate" : "2009\/07\/17 22:08",
"doc_creator" : "Gerritjan Koekkoek"
}
 , {
"doc_viewable" : true,
"doc_name" : "GerritjanKoekkoek_doc264",
"doc_fullname" : "xwiki:CdlsatdPrivate.GerritjanKoekkoek_doc264",
"doc_space" : "CdlsatdPrivate",
"doc_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/CdlsatdPrivate\/GerritjanKoekkoek_doc264",
"doc_space_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/CdlsatdPrivate\/",
"doc_hasadmin"  : true,
"doc_edit_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/inline\/CdlsatdPrivate\/GerritjanKoekkoek_doc264",
"doc_copy_url"   :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/XWiki\/CopyDocument?sourcedoc=xwiki%3ACdlsatdPrivate.GerritjanKoekkoek_doc264",
"doc_delete_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/delete\/CdlsatdPrivate\/GerritjanKoekkoek_doc264",
"doc_rename_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/CdlsatdPrivate\/GerritjanKoekkoek_doc264?xpage=rename&step=1",
"doc_rights_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/edit\/CdlsatdPrivate\/GerritjanKoekkoek_doc264?editor=rights",
"doc_author_url" :
"\/xwiki%2Denterprise%2Dweb%2D2.5\/bin\/view\/XWiki\/GerritjanKoekkoek",
"doc_date" : "2009\/07\/20 14:22",
"doc_title" : "GerritjanKoekkoek_doc264",
"doc_author" : "Gerritjan Koekkoek",
"doc_creationDate" : "2009\/07\/20 13:58",
"doc_creator" : "Gerritjan Koekkoek"
}
]}