jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: Alias Property
Date Mon, 11 Aug 2008 16:59:00 GMT
On Fri, Aug 1, 2008 at 7:35 AM, Luis Gervaso <luis.gervaso@gmail.com> wrote:
> Hi all,
> Is possible the definition of an alias property in a node.
> This is only to make beautiful the path of a node
> We have nodes like : /site/folders/mark/folders/documents
> and we want to translate to /site/mark/documents
> we can't change the structure so setting an alias property we can search
> using xpath

You could have reference properties, but you will most likely have to
change the queries (using jcr:deref(@prop) to dereference the nodes).

JCR 2.0 (JSR-283 http://jcp.org/en/jsr/detail?id=283) will have a
feature called "shareable nodes" that should fit your use case quite

> BUT the real issue is : Can we make this alias "unique"?

What do you mean by "unique"?


Alexander Klimetschek

View raw message