AnsweredAssumed Answered

Adding a custom action - stuck

Question asked by paulkeogh on Oct 18, 2005
Latest reply on Oct 18, 2005 by rdanner
Hi,

I am trying to add a custom action and am following the wiki docs up to the <TODO> tags and then trying to extrapolate from the mailAction code.

I've got to the point of adding code to the action-services-context.xml file

   <bean id="sendsms" class="org.alfresco.repo.action.executer.SendSMSActionExecuter" parent="action-executer">
      <property name="sendSMSService">
         <ref bean="sendSMSService"></ref>
      </property>
   </bean>
 

for my custom action - when I do this I get the following exception;

javax.faces.FacesException: Cannot get value for expression '#{NewRuleWizard.actions}'

caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{NewRuleWizard.actions}'

caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{NewRuleWizard.actions}'

caused by:
javax.faces.el.EvaluationException: org.alfresco.web.bean.wizard.NewRuleWizard

caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wizard.NewRuleWizard, property: actions

caused by:
java.lang.reflect.InvocationTargetException

caused by:
java.lang.NullPointerException: label

Comment it, it runs again. I'm quite happy hacking and grepping my way through this to figure out whats going on, but can someone give me a pointer on this ? or even how to turn on some more debugging to see whats going on.

Thanx,

Outcomes