We are trying to develop a Cocoon 2.2 application. We have developed a few 2.1 apps already. We are struggling with using a spring bean for an action.
We’d like to do something like:
<map:action name="nocache-action" src="org.apache.cocoon.acting.HttpCacheAction">
<map:action name="NBCLinkForm" src="LinkForm"/>
We define the bean in applicationContext.xml:
<bean id="LinkForm" class="com.gnb.forms.LinkForm">
<property name="dataSource" ref="dataSource" />
However the name LinkForm is never properly resolved. Is there a way to use specify a Spring bean as an action source?