10-18-2005 01:35 PM
10-18-2005 02:48 PM
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,
10-18-2005 05:21 PM
you have to modiify:
o code your action
o config your action
o the code in the rules wizard (unless this model has changed… which it will have to at some point, to some pattern that supports dynamic
extentions)
o modify the application context-xml to point to your new wizard class + any additional configuration
o create jsp for under wizard for create and new-action
o modify the navigation-config.xml
o modify message.properties in the web client and
o modify the action-config.properties in the repository
-R
10-18-2005 06:13 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.