Title: RE: Coldspring datasource
Thread: Coldspring datasource
Forum: Need Help?
Conference: ColdBox
User: lmajano
seems strange,
Here is a sample on a coldspring.xml
[code]
<bean
id="userService"
class="coldbox.samples.applications.ColdBoxReader.components.services.userServic
e" singleton="true">
<constructor-arg name="usersDAO">
<ref
bean="usersDAO"/>
</constructor-arg>
<constructor-arg
name="ModelBasePath">
<value>${ModelBasePath}</value>
</constructor-arg>
</bean>
[/code]
Here is the coldbox.xml:
[code]
<YourSettings>
<Setting name="Version" value="2.0.0" />
<Setting
name="ModelBasePath"
value="coldbox.samples.applications.ColdBoxReader.components" />
</YourSettings>
[/code]
All the name values are the keys that are sent in
to the IOC plugin. You might want to reinitialize your app to make sure the
settings are loaded. fwreinit=1 or fwreinit={fwreinitpassword}
Keep trying
on the simple test. But make sure you reinit the app because the plugins are
cached.