AnsweredAssumed Answered

How to create an action evalutor too detect multiple node types.

Question asked by bobalfresco on Oct 13, 2015
Latest reply on Dec 22, 2015 by angelborroy
I have created two custom types.
1. pm:myFolder extends cm:folder
2. pm:myFile extends cm:content

I have also create a custom action called deploy.
I am trying to create an evaluator that will allow the
deploy action to be available for only these two custom
types, not for ordinary files and folders.

In share-config-custom.xml I have added the evaluator with this line in
the action definition:


In custom-slingshot-application-context,xml, I have included this bean:

   <bean id="evaluator.doclib.action.isDeployable" parent="evaluator.doclib.action.nodeType">
      <property name="types">

When I include only one "<value>" line, it works, but when I have both lines, it
only shows the action for one type.

Am I missing something or using the wrong syntax?