jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: Multi-value column selector problem
Date Tue, 22 Nov 2011 12:42:26 GMT
On 22.11.11 08:33, "毛进" <danveno@163.com> wrote:
>And how can i get the multivalued property by using the feature of column
>selector?

Use row.getNode() (since 2.0) to get the node and then normal JCR API
methods, such as node.getProperty("category").getValues() for a
multi-value node.

Or use QueryResult.getNodes() instead of getRows() right away.

Cheers,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel




Mime
View raw message