[daisy] Problem with nested functions in query

Mindaugas Idzelis idzelis at us.ibm.com
Fri Dec 1 09:40:54 CST 2006


I would like to make Daisy wiki automatically insert a box into each page 
that shows all referring documents to it. (JSP wiki style) I was going to 
follow (http://cocoondev.org/daisydocs-1_5/daisywiki/general/g1/273.html) 
as a template. However, I realized that the query I wanted to use to show 
documents linking to the current one doesn't work. 

Could not perform the following embedded query:
select id,name where LinksTo(ContextDoc(id),0,1)
Encountered the following errors:
Error performing query.
Error parsing expression.
Encountered "ContextDoc" at line 1, column 30. Was expecting: <LITERAL> 
... 

Is there a workaround?

Thanks,

Mindaugas Idzelis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20061201/d6795ed5/attachment.htm


More information about the daisy mailing list