On Fri, Aug 1, 2008 at 7:35 AM, Luis Gervaso <[EMAIL PROTECTED]> 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
well.

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

What do you mean by "unique"?

Regards,
Alex


-- 
Alexander Klimetschek
[EMAIL PROTECTED]
  • Alias Property Luis Gervaso
    • Re: Alias Property Alexander Klimetschek

Reply via email to