AnsweredAssumed Answered

property values in a template

Question asked by aznk on Jan 25, 2007
Hello,
I have this custom aspect :

<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>

I could retrieve all nodes that have the tag:taggable aspect with the following code in a template :
<#assign query = "ASPECT:\"{extension.tags}taggable\"" />
   <#list space.childrenByLuceneSearch[query] as child>

How can I retrieve directly all property values (not nodes) of nodes having this aspect without having to query nodes that have this aspect ?

I couldn't find a way to retrieve only values via the node browser, I only managed to get nodes. I tried with //@tag:tags but it only worked with selectnodes and gave me only the nodes, not the values.

Outcomes