AnsweredAssumed Answered

Problem show actions of an aspect

Question asked by cgonzalez on Dec 2, 2008
Hi,

I have a problem, I want to hide the action "delete_doc" of the nodes with the aspect "custom:aspect". TO do this i have writen this in my web-client-config.xml:


<config evaluator="aspect-name" condition="custom:aspect">
      <property-sheet>
         <show-association name="custom:association" />
      </property-sheet>
      <actions>
         <action-group id="document_browse">
            <show-link>false</show-link>
            <action idref="delete_doc" hide="true" />
         </action-group>
      </actions>
   </config>

It works fine if all the nodes of a folder have/not have the aspect custom:aspect, but if not, all the nodes hide the action delete_doc if the first node have the aspect, all the nodes show the action delete_doc if the first node don't have the aspect. I don't now if there are any posibility that all the nodes can be evaluated separately.


Any tip?

Thanks.

Outcomes