[jira] Commented: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-22 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507153 ] Marcel Reutegger commented on JCR-974: -- Thanks a lot for the revised patch. I was just going to write some

jcr:deref() in predicate

2007-06-22 Thread Frédéric Esnault
Hi all ! I'm facing a strange situation. I'm wondering if I'm doing something wrong or if it's a jackrabbit problem. I tried this search : /jcr:root/lgw:root/lgw:contracts/element(*, lgw:contractType)[jcr:deref(@lgw:internalContractor, 'lgw:contractorType')/@lgw:companyName = 'Lycos']

Re: jcr:deref() in predicate

2007-06-22 Thread Marcel Reutegger
Frédéric Esnault wrote: Is it forbidden to put a jcr:deref in a predicate, knowing that we can use child nodes and properties? jackrabbit does not support the jcr:deref function in a predicate. please file a jira issue if you wish to see this enhancement in jackrabbit. regards marcel

[jira] Created: (JCR-977) jcr:deref in xpath predicates

2007-06-22 Thread Frederic Esnault (JIRA)
jcr:deref in xpath predicates - Key: JCR-977 URL: https://issues.apache.org/jira/browse/JCR-977 Project: Jackrabbit Issue Type: Improvement Components: query Affects Versions: 1.3

[jira] Updated: (JCR-740) Support for the decendant-or-self axis in XPath predicates

2007-06-22 Thread Christoph Kiehl (JIRA)
[ https://issues.apache.org/jira/browse/JCR-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christoph Kiehl updated JCR-740: Attachment: patch.txt This patch is a prototype for supporting jcr:contains calls that use

Re: About Jackrabbit repository model

2007-06-22 Thread Marcel Reutegger
Frédéric Esnault wrote: Your performance tests were not made with same name siblings I guess? Because mine, with 12K same name siblings child nodes, a simple search is awful. Not a search on something like //lgw:contract[5], which is fast, but even /jcr:root/lgw:root/lgw:contracts/lgw:contract

[jira] Updated: (JCR-977) jcr:deref in xpath predicates

2007-06-22 Thread Frederic Esnault (JIRA)
[ https://issues.apache.org/jira/browse/JCR-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frederic Esnault updated JCR-977: - Description: Currently, the jcr:deref() function is not allowed in a xpath query predicate.

RE: jcr:deref() in predicate

2007-06-22 Thread Frédéric Esnault
Thansk I will because if we don't have, how can we do this query. I want all contracts having as an internal contractor the company Lycos. Knowing that contractors are references in the contract type. I did /jcr:root/lgw:root/lgw:contracts/element(*,

Re: jcr:deref() in predicate

2007-06-22 Thread Marcel Reutegger
Frédéric Esnault wrote: Thansk I will because if we don't have, how can we do this query. I want all contracts having as an internal contractor the company Lycos. Knowing that contractors are references in the contract type. I did /jcr:root/lgw:root/lgw:contracts/element(*,

RE: jcr:deref() in predicate

2007-06-22 Thread Frédéric Esnault
Thanks for the answer, but my question was : is there another way only using XPath? I should have been clearer, sorry. Frédéric Esnault -Message d'origine- De : Marcel Reutegger [mailto:[EMAIL PROTECTED] Envoyé : vendredi 22 juin 2007 12:28 À : dev@jackrabbit.apache.org Objet : Re:

[jira] Reopened: (JCR-973) XML import using MacOS X WebDAV client does not work

2007-06-22 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela reopened JCR-973: the fix (adding check for ImportContext.getContentLength()) introduced a minor inconsistency that didn't have an effect

[jira] Resolved: (JCR-973) XML import using MacOS X WebDAV client does not work

2007-06-22 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-973. Resolution: Fixed fmodified:

[jira] Updated: (JCR-967) Only search the index for the jcr:system tree if needed

2007-06-22 Thread Christoph Kiehl (JIRA)
[ https://issues.apache.org/jira/browse/JCR-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christoph Kiehl updated JCR-967: Attachment: (was: patch.txt) Only search the index for the jcr:system tree if needed

[jira] Updated: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-22 Thread Christoph Kiehl (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christoph Kiehl updated JCR-974: Attachment: patch3.txt Patch3 incorporates changes as suggested. ReadOnlyIndexReaders are no longer

Re: Web app design pattern questions

2007-06-22 Thread bilobag
Thanks for all the input. I think for now i will just go with the DTO pattern. However, I would like to possibly use a generic class for the dto's like the LazyDynaBean. Has anyone had any experience using this on the front end with JSF? Maybe this belongs in a different forum...

[jira] Created: (JCR-978) Remove circular dependency between VersionManagerImpl and VersionItemStateProvider

2007-06-22 Thread Marcel Reutegger (JIRA)
Remove circular dependency between VersionManagerImpl and VersionItemStateProvider -- Key: JCR-978 URL: https://issues.apache.org/jira/browse/JCR-978 Project: Jackrabbit

problem with unregistering namespaces

2007-06-22 Thread Mohammed ATMANE
Hi, i want to unregistering namespaces but i got the following exception : javax.jcr.NamespaceException: unregistering namespaces is not supported is jackrabbit not support unregistering namespaces ? why ? and how can i do to unregister namespaces manually Thanks. --

problem solved unregistring namespaces manually

2007-06-22 Thread Mohammed ATMANE
I deleted the line of registred namaspaces from the file ns_reg.properties (the file is in the folder namespaces of the repository) -- == Ecole des Mines d'Ales Site EERIE - Mohammed ATMANE - Eleve Ingenieur Parc Scientifique