On Thu, Oct 30, 2008 at 10:53 AM, Vidar Ramdal <[EMAIL PROTECTED]> wrote:
> Hi all;
>
> I have been playing with JsonQueryServlet, trying to make a dojo.data
> source. The datasource is used by a dojo.form.FilteringSelect, which
> looks up its data by calling
> /.query.json?statement=/jcr:root//*[jcr:like(name, "searchTerm%")]
Oh, and while I'm at it: I'd like to introduce an optional parameter
'numchildren', which will include a property in the returned JSON
object stating how many children a node has:
[{"name":"searchTermMatch","jcr:score":"1000","jcr:primaryType":"nt:unstructured","jcr:path":"/searchTermMatch","name":"searchTerm
and more", numchildren: "2"}]
Any opinions on this?
--
Vidar S. Ramdal <[EMAIL PROTECTED]> - http://www.idium.no
Akersgata 16, N-0158 Oslo, Norway