AnsweredAssumed Answered

how to get values of a property ?

Question asked by aznk on Jan 15, 2007
Latest reply on Jan 16, 2007 by aznk
Hello,

I've defined a custom aspect which has a tag:tags property:

      
<aspect name="tag:taggable">
         <title>Taggable</title>
         <properties>
            <property name="tag:tags">
               <title>Tags</title>
               <type>d:text</type>
               <multiple>true</multiple>
            </property>
         </properties>
</aspect>

In the node browser, I performed the query "//@tag:tags" with the selectnode, and it returns me all nodes that have this property.
I need to retrieve all values of these nodes, and also tried with the xpath, but it doesn't work :
Search failed due to: java.lang.UnsupportedOperationException
How could we access these values ? I also tried with Lucene but it gave me only the nodes that had the property/aspect.

Outcomes