Ah yes, I noticed that there is a problem in the tutorial when you have to
modify the page LiveTableResultsMacros and use the #grid_ratings macro. It
is caused by the fact that the tutorial was writen a long time ago and, in
the meanwhile, things changed in the liveatable results macros code.
After you add the new macro, to use it, you need to call it with the
argument $itemDoc instead of $udoc, like this :
#elseif($colname=="_ratings"),
#grid_ratings($itemDoc)
"${colname}" : "${ratings}"
#else
If you don`t do this, all the stars in the livetable will be all white as
the value of the rating is not properly read.
I have updated the tutorial to reflect this. Also, note that the above is
valid for XWiki 2.3
Does this help?
Thanks,
Eduard
On Thu, Feb 23, 2012 at 12:25 PM, acaserop <acaserop(a)indra.es> wrote:
Hi again Eduard
I tried but nothing happend, it's still empty, maybe the js form the
livetable is not looking at the same place of App raiting?
Thanks :)
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Raitings-Plug-In-tp7305284p7311388.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users