Can the livable macro display objects that are on the same page ?

my use case looks to show the right number of records, but all the rows show 
the data of the first object on the page.


{{velocity wiki=false}}

#set($myColumns = ["personKey","observationType", "doc.name" , 
"odatetimestart","measureNominal", "withmilestone", "byRole", "withtopic", 
"_actions"])


#set($myTableOptions = {

   "className":"WaihonaCode.observationClass",

   "translationPrefix" : "waihonapedia.scorecards.growth.",

   "rowCount": 10,

   "extraParams" : 
"&personKey=RaiKoekkoek&observationType=weight&doc.name=RaiKoekkoek_growthfeeding"

} )


#set($columnsProperties = {

   "personKey" : { "type" : "hidden", "filterable":"false"},

   "observationType" : { "type" : "hidden", "filterable":"false"},

   "doc.name" :{"type":"hidden", "filterable":"false"},

   "odatetimestart" : { "type" : "date", "sortable":"false" , 
"filterable":"false", "size" : 5},

   "measureNominal" : { "type" : "number" , "filterable":"false", "size" : 5},

   "withmilestone" : {"type" : "text", "filterable":"false" , "size" : 5},

   "byRole" : { "type" : "text", "filterable":"false" , "size" : 5},

   "withtopic" : { "type" : "text", "filterable":"false" , "size" : 10}

})


#livetable('growthTable' $myColumns $columnsProperties $myTableOptions)


{{/velocity}}



Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerrit...@cdlsworld.org>



_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to