jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandana Mihindukulasooriya" <nandana....@gmail.com>
Subject Re: jcr-mapping : can we map a node name to a bean field
Date Mon, 20 Aug 2007 02:31:08 GMT
Hi,

On 8/18/07, Felix Meschberger <fmeschbe@gmail.com> wrote:
>
> Hi,
>
> If I understand correctly, he wants to have some kind of synthetic
> property for the node name just like for the node path.


Yes, that was exactly what I meant.

In this case, I think it would probably be more appropriate to have some
> helper method in your bean object, which just cuts off the last segment
> of the path to get the name.


Thanks. So I would continue implementing it as a helper method in the bean
class.

br,
Nandana

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message