Greetings,

Is there any way to call functions located in a file mySharesGW.cfc
from within mySharesBean.cfc.

I have the following setup in my coldspring.xml file:

<bean id="mysharesBean" class="it.myshares.model.mysharesBean"
singleton="true" />
<bean id="mysharesService" class="it.myshares.model.mysharesService">
        <property name="mysharesDAO"><ref bean="mysharesDAO" /></
property>
        <property name="mysharesGW"><ref bean="mysharesGW" /></
property>
</bean>
<bean id="mysharesDAO" class="it.myshares.model.mysharesDAO">
   <property name="AppConfig"><ref bean="AppConfig" /></property>
</bean>
<bean id="mysharesGW" class="it.myshares.model.mysharesGW">
   <property name="AppConfig"><ref bean="AppConfig" /></property>
</bean>

When i validate a form with the mySharesBean.cfc file, I want to test
the data being passed in against a function that I have defined within
mySharesGW.cfc (specifically AccountExists is the function name).

Is there a correct way of calling that function from within the
mySharesBean.cfc?

Thanks in Advance,

Cliff

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to