I have not had any success at trying to set up a remote facade for any
modelglue unity controllers. I can do it to any of my model cfc's,
just not the controllers.
the error:
Bean creation exception during init() of controller.UserController
The parameter MODELGLUE to function init is required but was not passed in
My controller.usercontroller does not have an init(), but it extends
modelglue.unity.controller.Controller
here is my coldspring.xml snippet:
<bean class="controller.UserController" id="UserController">
</bean>
<bean id="User_Remote"
class="coldspring.aop.framework.RemoteFactoryBean">
<property name="target">
<ref bean="UserController" />
</property>
<property name="serviceName">
<value>User_Remote</value>
</property>
<property name="beanFactoryName">
<value>beanFactory</value>
</property>
<property name="relativePath">
<value>/remoting/</value>
</property>
<property name="remoteMethodNames">
<value>*</value>
</property>
</bean>
Any thoughts on where to go? I have tried playing around with
overloading the init function in my controller and not calling super()
and get this error:
Element NAME is undefined in VARIABLES.
The error occurred in
C:\Inetpub\wwwroot\WebFiles\ModelGlue\unity\controller\Controller.cfc:
line 25
Any thought on whether this is possible?
Doug S.
.