I found one issue on custom JSON page. My last variant:
=============================================
Content of custom JSON page (etvcPlanningsCode.wJSON):
=============================================
{{include document="XWiki.LiveTableResultsMacros" /}}
{{velocity}}
#if("$!{request.xpage}" == 'plain')
$response.setContentType('application/json')
#end
#set($map = {})
#gridresult_buildJSON("$!etvcPlanningsCode.wClass"
$request.collist.split(',') $map)
#foreach($row in $map.get('rows'))
#set($discard = $row.put('no', "$foreach.count"))
#end
$json = $jsontool.serialize($map)
{{/velocity}}
Also I checked JSON result with
http://jsonlint.com/ - I got "Valid JSON"
...
But unfortunatly - no any results in a livetable ...
Can somebody can help me?
--
Thanks beforehand!
Eugen Colesnicov
--
Thanks
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Using-custom-JSON-in-a-livetable-tp758220…
Sent from the XWiki- Users mailing list archive at
Nabble.com.