[daisy] May have found a bug in Navigation, want to make sure..

Alan Mortensen alan.mortensen at gmail.com
Wed Apr 4 20:31:26 CDT 2007


I'm using the nested queries feature of the navigation document and I'm
having trouble with referencing the containing row.

In particular, whenever I try to use a ${xxx} kind of reference in a query
it fails saying things like the value of  '
org.outerj.daisy.navigation.impl.ContextValue at f0c39' cannot be converted to
a long.  I've tried this both with ${documentId} and ${2} (for the second
field of the current row) and both come back as the ContextValue object
stringified.  It looks to me like the string value is not being determined
correctly for ContextValue objects, but I want to make sure my assumptions
are correct.

Ex:
select name where documentType='parent'
    select name where documentType='child' and
$parentLink.documentId=${documentId}
OR
select name, $ParentId where documentType='parent'
    select name where documentType='child' and ${2}=$parentLink=>$ParentId

Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20070404/bc17cc7e/attachment.htm


More information about the daisy mailing list