Re: web based jcr browser contribution

2006-11-21 Thread Jukka Zitting
Hi, On 11/22/06, Torgeir Veimo <[EMAIL PROTECTED]> wrote: > On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > > > What do you think about storing the jcr session in the servlet session > > > and use a requestlistener to synchronize the access to the jcr session?. > > > On each request a lo

[jira] Resolved: (JCR-640) rename jcr-browser contrib project

2006-11-21 Thread Edgar Poce (JIRA)
[ http://issues.apache.org/jira/browse/JCR-640?page=all ] Edgar Poce resolved JCR-640. Resolution: Fixed renamed in rev 478013 > rename jcr-browser contrib project > -- > > Key: JCR-640 > URL:

Re: web based jcr browser contribution

2006-11-21 Thread Jukka Zitting
Hi, On 11/21/06, Edgar Poce <[EMAIL PROTECTED]> wrote: On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > Should we target at eventually merging the two webapps, or is it > better to keep them separate? IMHO it's better to keep them separated, when the navigator is mature enough to join to

[jira] Closed: (JCR-640) rename jcr-browser contrib project

2006-11-21 Thread Edgar Poce (JIRA)
[ http://issues.apache.org/jira/browse/JCR-640?page=all ] Edgar Poce closed JCR-640. -- > rename jcr-browser contrib project > -- > > Key: JCR-640 > URL: http://issues.apache.org/jira/browse/JCR-640 >

[jira] Commented: (JCR-616) Completeness/Freshness of Namespace Registry

2006-11-21 Thread angela (JIRA)
[ http://issues.apache.org/jira/browse/JCR-616?page=comments#action_12451306 ] angela commented on JCR-616: i committed the patch with some modifications as a short term solution. form my point of view, the patch addresses the problem only partially

Re: Node references limitations

2006-11-21 Thread Tobias Bocanegra
I don't know if it might help but there is already a ReferenceTracker class used in WorkspaceImporter. Maybe you could extend it and reuse it. why should that help improving the changelog in respect to references? this tracker does something completely different. it records altered uuids of impo

Re: Node references limitations

2006-11-21 Thread Nicolas
Hi Tobias, You're right, it's not going to help. On 11/21/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote: why should that help improving the changelog in respect to references? this tracker does something completely different. it records altered uuids of imported nodes in order to be able to a

Re: web based jcr browser contribution

2006-11-21 Thread Jukka Zitting
Hi, On 11/21/06, Edgar Poce <[EMAIL PROTECTED]> wrote: On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > The problem with associating the JCR session with the HTTP session is > that the servlet container may allow multiple concurrent request > within the same session. yes. It was an issue

Re: web based jcr browser contribution

2006-11-21 Thread Edgar Poce
On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: On 11/21/06, Edgar Poce <[EMAIL PROTECTED]> wrote: > On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > > Should we target at eventually merging the two webapps, or is it > > better to keep them separate? > > IMHO it's better to keep them

Re: web based jcr browser contribution

2006-11-21 Thread Edgar Poce
Hi Frans, On 11/21/06, Frans Thamura @ FB - Meruvian <[EMAIL PROTECTED]> wrote: i did try JCR Explorer, i never can use it, anyone can share? I'm not sure whether you are refering to building the project from the source or to access the demo. There's a demo at http://edgarpoce.dyndns.org:808

Re: JCR-Server => subprojects moved 1 level up

2006-11-21 Thread Jukka Zitting
Hi, On 11/21/06, Angela Schreiber <[EMAIL PROTECTED]> wrote: as suggested by jukka recently (JCR-612 [1]), the subprojects of the jcr-server have been moved one level up. Thanks a lot for doing the heavy lifting! This makes it much easier to proceed with the rest of the restructuring. BR, Ju

Re: web based jcr browser contribution

2006-11-21 Thread Edgar Poce
Hi, On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > What do you think about storing the jcr session in the servlet session > and use a requestlistener to synchronize the access to the jcr session?. > On each request a lock would be acquired on the jcr session and released > only when the

[jira] Updated: (JCR-641) can't add lock token to session after 3 login/logout

2006-11-21 Thread Paco Avila (JIRA)
[ http://issues.apache.org/jira/browse/JCR-641?page=all ] Paco Avila updated JCR-641: --- Attachment: DummyLockToken.java > can't add lock token to session after 3 login/logout > > > Key: JCR-64

[jira] Updated: (JCR-641) can't add lock token to session after 3 login/logout

2006-11-21 Thread Paco Avila (JIRA)
[ http://issues.apache.org/jira/browse/JCR-641?page=all ] Paco Avila updated JCR-641: --- Attachment: repository2.xml > can't add lock token to session after 3 login/logout > > > Key: JCR-641 >

Re: web based jcr browser contribution

2006-11-21 Thread Edgar Poce
On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: Should we target at eventually merging the two webapps, or is it better to keep them separate? IMHO it's better to keep them separated, when the navigator is mature enough to join to the jackrabbit release cycle we could review it. > Btw,

[jira] Commented: (JCR-641) can't add lock token to session after 3 login/logout

2006-11-21 Thread Paco Avila (JIRA)
[ http://issues.apache.org/jira/browse/JCR-641?page=comments#action_12451454 ] Paco Avila commented on JCR-641: Perhaps the description is a bit confusing, but in our web application OpenKM the users logout and login several times and an user ca

Re: web based jcr browser contribution

2006-11-21 Thread Torgeir Veimo
On Tue, 2006-11-21 at 21:02 -0300, Edgar Poce wrote: > Hi, > > On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > > > What do you think about storing the jcr session in the servlet session > > > and use a requestlistener to synchronize the access to the jcr session?. > > > On each request a l

Re: jackrabbit war distribution (was: web based jcr browser contribution)

2006-11-21 Thread Jukka Zitting
Hi, On 11/21/06, Edgar Poce <[EMAIL PROTECTED]> wrote: probably dreaming from here :), but in a not so long term it would be great to have a single war that includes the webdav server, the jcr navigator, a jackrabbit monitoring tool (to monitor the internals), and some kind of audit trail app th

Re: Node references limitations

2006-11-21 Thread Tobias Bocanegra
hi thomas, thanks for looking into this. afaik, the references are mostly used during save/commit. when a referenceable (actually any node) node is deleted it is checked if this node is still referenced. maybe you can also look into this to ensure that the pure existence check is cheep. regards,

Re: web based jcr browser contribution

2006-11-21 Thread Jukka Zitting
Hi, On 11/20/06, Edgar Poce <[EMAIL PROTECTED]> wrote: The jackrabbit server is already integrated in the navigator Ah, nice! Should we target at eventually merging the two webapps, or is it better to keep them separate? Btw, sharing the jcr session between the webdav servlets and the navig

Re: two questions about locks

2006-11-21 Thread Paco Avila
El lun, 20-11-2006 a las 11:59 +0200, Jukka Zitting escribió: > Hi, > > On 11/20/06, Paco Avila <[EMAIL PROTECTED]> wrote: > > 1.- How can I see the lock token associated to a lock? > >Lock.getLockToken() But if the lock token is lost, null is returned. But the node is locked. > > 2.- How c

Re: Restricting xpath query to document text

2006-11-21 Thread Marcel Reutegger
The class looks ok, except that you shouldn't lower-case the text retrieved from the resource, or is there a specific reason why this is done? Jackrabbit 1.2 will support the functions fn:lower-case() and fn:upper-case(), so there is no need to lower-case the text when it is indexed. The quer

[jira] Commented: (JCR-247) Child axis support for XPath predicates

2006-11-21 Thread Jukka Zitting (JIRA)
[ http://issues.apache.org/jira/browse/JCR-247?page=comments#action_12451599 ] Jukka Zitting commented on JCR-247: --- > Implemented support for child axis in predicates. Way to go, Marcel! This will be a killer feature for many in the 1.2 releas

Flat content hierarchies

2006-11-21 Thread Jukka Zitting
Hi, I just opened a major improvement request, JCR-642 "Support flat content hierarchies". I'd like to use the issue as the focus point for building a roadmap for and eventually implementing the changes necessary to get rid of the current limitations against flat content structures. There is no

jackrabbit war distribution (was: web based jcr browser contribution)

2006-11-21 Thread Edgar Poce
On 11/21/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: My question was more about the eventual plan for the navigator app than making immediate decisions. Let's revisit the issue later. In a mid term plan I think we could include both the navigator and the webdav server in a single webapp. If it'

[jira] Updated: (JCR-641) can't add lock token to session after 3 login/logout

2006-11-21 Thread Paco Avila (JIRA)
[ http://issues.apache.org/jira/browse/JCR-641?page=all ] Paco Avila updated JCR-641: --- Attachment: DummyLockToken.log Sample log output > can't add lock token to session after 3 login/logout > > >

Re: Node references limitations

2006-11-21 Thread Nicolas
Hi Thomas, I don't know if it might help but there is already a ReferenceTracker class used in WorkspaceImporter. Maybe you could extend it and reuse it. BR, Nicolas my blog! http://www.deviant-abstraction.net !! On 11/21/06, Thomas Mueller <[EMAIL PROTECTED]> wrote: Hi, In Jackrabbit, there

[jira] Assigned: (JCR-641) can't add lock token to session after 3 login/logout

2006-11-21 Thread Stefan Guggisberg (JIRA)
[ http://issues.apache.org/jira/browse/JCR-641?page=all ] Stefan Guggisberg reassigned JCR-641: - Assignee: Stefan Guggisberg > can't add lock token to session after 3 login/logout > > >

Re: web based jcr browser contribution

2006-11-21 Thread Edgar Poce
Hi Wolf, thanks for the feedback. I preferred to use plain dojo javascript because I like the dojo framework and I didn't find as many components in myfaces as I found in dojo. For the moment I don't think I'll move the project to JSF because the contrib project is almost finished[1], but I'm op

[jira] Commented: (JCR-612) Restructure the Jackrabbit source tree

2006-11-21 Thread angela (JIRA)
[ http://issues.apache.org/jira/browse/JCR-612?page=comments#action_12451668 ] angela commented on JCR-612: done. jcr-server subprojects ==> moved one level up. former structure was: ==

Re: web based jcr browser contribution

2006-11-21 Thread Edgar Poce
Hi jukka On 11/20/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: I think it would make sense to target combining the navigator and perhaps also the ntdoc tools together with the current jackrabbit-server webapp. That would make for a pretty nice all-in-one deployment package for Jackrabbit. The

Re: web based jcr browser contribution

2006-11-21 Thread Jukka Zitting
Hi, I think it would make sense to target combining the navigator and perhaps also the ntdoc tools together with the current jackrabbit-server webapp. That would make for a pretty nice all-in-one deployment package for Jackrabbit. I'm not sure how well Maven 2 handles merging of full webapp depe

Re: web based jcr browser contribution

2006-11-21 Thread Angela Schreiber
Jukka Zitting wrote: I think it would make sense to target combining the navigator and perhaps also the ntdoc tools together with the current jackrabbit-server webapp. That would make for a pretty nice all-in-one deployment package for Jackrabbit. if we move all subprojects of the jcr-server o

[jira] Commented: (JCR-640) rename jcr-browser contrib project

2006-11-21 Thread Jukka Zitting (JIRA)
[ http://issues.apache.org/jira/browse/JCR-640?page=comments#action_12451298 ] Jukka Zitting commented on JCR-640: --- sounds good > rename jcr-browser contrib project > -- > > Key: JCR-640 >

Re: two questions about locks

2006-11-21 Thread Paco Avila
El lun, 20-11-2006 a las 10:01 +0100, Paco Avila escribió: > 1.- How can I see the lock token associated to a lock? This is a stupid question. The interesting one is the second: 2.- How can I unlock a node if the lock tokes is lost? -- Paco Avila <[EMAIL PROTECTED]>

Re: two questions about locks

2006-11-21 Thread Tobias Bocanegra
> 1.- How can I see the lock token associated to a lock? This is a stupid question. The interesting one is the second: 2.- How can I unlock a node if the lock tokes is lost? you can't :-( regards, toby -- -< [EMAIL PROTECTED] >--- Tobias Bocanegra, Da

Re: web based jcr browser contribution

2006-11-21 Thread Wolf Benz
This is a great idea! Some thoughts, fro the top of my head: - do we really need AJAX/Dojo, or could plain (MyFaces) components be used (thus shifting the AJAX to MyFaces components that use it - would speed up thsi development) They have some very cool components. (also check their sandbox) It

Re: new version of jcr-browser

2006-11-21 Thread Edgar Poce
oops, the url is http://edgarpoce.dyndns.org:8080/jcr-browser/ On 11/20/06, Edgar Poce <[EMAIL PROTECTED]> wrote: Hi, I just committed some changes to jcr-browser, a web based JCR content browser. It's a work in progress but most operations in the menu are implemented. There's a demo availab

[jira] Assigned: (JCR-616) Completeness/Freshness of NamespaceRegistry and NodeTypeRegistry

2006-11-21 Thread angela (JIRA)
[ http://issues.apache.org/jira/browse/JCR-616?page=all ] angela reassigned JCR-616: -- Assignee: angela > Completeness/Freshness of NamespaceRegistry and NodeTypeRegistry > > > Key: