Hello Frantisek,
What version of XWiki are you using ?
Also, what is the exact name of your template document ?
In at least recent (2.1+) versions of XWiki, the JSON sources filters on
document with name ${className}Template ; so if your class is
MySpace.MyClass, then MySpace.MyClassTemplate should not appear in
livetable results.
See
http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/wiki/src/main/resources/XWiki/LiveTableResultsMacros.xml
:
#if("$!className" != "")
#set(${...Sql = ", [snip] and doc.fullName <> '${className}Template'
[snip]")
...
Hope this helps,
Regards,
Jerome.
>
> Hi,
>
> I created new data type (class, sheet, template document) and I created
> several documents of this type. Then I created document with livetable
> macro
> to list documents in table format. All is working well, but first row in
> table is template document.
> How can I filter template document from table?
>
> Any help appreciated
>
> Regards
>
> Frantisek
> --
> View this message in context:
> http://n2.nabble.com/Livetable-tp4744002p4744002.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users