AnsweredAssumed Answered

Action Executer

Question asked by fracat71 on May 13, 2010
Latest reply on May 13, 2010 by fracat71
Hi All,
Anybody knows when an Action Executer is called?
Because i write it and it is called only from company_home.
I wrote the following code:


public class MovesFilesActionEvaluator extends BaseActionEvaluator {
   private Logger logger = Logger.getLogger(MovesFilesActionEvaluator.class);
   public boolean evaluate(Node node) {
      logger.debug("Starting evaluation");
      return true;
   }
}

and added the inside web-client-config-custom.xml


…….
         <action id="celdra_move_all">
            <evaluator>com.celdra.action.evaluator.MovesFilesActionEvaluator</evaluator>
            <label-id>move_doc_all</label-id>
            <image>/images/icons/action.gif</image>
            <action-listener>#{MoveFilesActionBean.move}</action-listener>
            <params>
               <param name="id">#{actionContext.id}</param>
            </params>
         </action>
…….
         <action-group id="browse_actions_men">
            <action idref="celdra_move_all" />
         </action-group>
…….

Outcomes