You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Mohinder Singh <ms...@swri.org> on 2009/09/29 22:47:31 UTC

Querying within the results

Hi,
I execute a query using XPath and display the results back on browser.
I need to run a subsequent query only on the previously returned results.
Is there any support in JCR for such queries? 

Thanks,
Mohinder Singh
      


Re: Unlocking open-scoped lock in a web-application

Posted by Tobias Bocanegra <tr...@day.com>.
hi,
you need to remember the lock token somewhere. for example in the http session.

regards, toby

On Fri, Oct 16, 2009 at 6:48 PM, Mohinder Singh <ms...@swri.org> wrote:
> In a http request the user locks a node (open-scoped and deep).
> In a subsequent request, the lock needs to be unlocked.
> The session that locked the node in the first place does not exist anymore.
>
> How do I unlock this node?
>
> Thanks.
> Mohinder
>
>

Unlocking open-scoped lock in a web-application

Posted by Mohinder Singh <ms...@swri.org>.
In a http request the user locks a node (open-scoped and deep).
In a subsequent request, the lock needs to be unlocked.
The session that locked the node in the first place does not exist anymore.

How do I unlock this node?

Thanks.
Mohinder


Re: Querying within the results

Posted by Alexander Klimetschek <ak...@day.com>.
On Tue, Sep 29, 2009 at 22:47, Mohinder Singh <ms...@swri.org> wrote:
> I execute a query using XPath and display the results back on browser.
> I need to run a subsequent query only on the previously returned results.
> Is there any support in JCR for such queries?

No, but you can try to combine the queries into one.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com