Hi
 
I'm playing with tags and noticed something odd.  I've added tags to a
few pages but when I go to "xwiki/bin/view/Main/Tags" I always get 
message "No documents have been tagged yet. To tag a document, edit it
and enter the tags ...".
 
I've searched all the posts but found only one person having the same
problem in April 2008 but no one answered.
 
In the end I found the problem in the page itself
 
##set($sql = "select distinct elements(prop.list) from BaseObject as
obj, DBStringListProperty as prop where obj.className='XWiki.TagClass'
and obj.id=prop.id.id and prop.id.name='tags'")
 
Note at the end " and prop.id.name='tags' "  should be " and
prop.name='tags' "
 
Example:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags
There are some tags added already but none displayed.
 
Also is there a list of all Hibernate Object names that relate to
database tables (ie. DBStringListProperty = xwikilistitems   or
LargeStringProperty = xwikilargestrings).  I am trying to work with
xwiki but its documentation is patchy and sometimes out of date so I try
to find info in the database to understand xwiki structure but get stuck
when I want to get some info out using HQL.  I usually spend hours
looking through Velocity scripts.
 
I have not fixed this on
 
 
--------------------------------------------------------

NOTICE

This message and any files transmitted with it is intended for the addressee 
only and may contain information that is confidential or privileged. 
Unauthorised use is strictly prohibited. If you are not the addressee, you 
should not read, copy, disclose or otherwise use this message, except for the 
purpose of delivery to the addressee. 

Any views or opinions expressed within this e-mail are those of the author and 
do not necessarily represent those of Coventry University.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to