Something like getModelGlue().getBean("AppConfig") should give it to you.
Or, if you're on MG3, add a `beans="AppConfig"` attribute to your
controller definition, and just reference it as `beans.AppConfig`.

HTH

On Thu, Mar 22, 2012 at 8:34 AM, Clifford Moon <[email protected]>wrote:

> Greetings,
>
> I have the following bean defined within my coldspring.xml file.
>
> <bean id="AppConfig" class="ModelGlue.Bean.CommonBeans.SimpleConfig">
>                <property name="Config">
>                        <map>
>                                <entry key="AppTitle"><value>Event
> Management</value></
> entry>
>                                <entry
> key="dsn"><value>webapps</value></entry>
>                                <entry
> key="mssql_dsn"><value>internetservices</value></entry>
>
>                        </map>
>                </property>
> </bean>
>
>
> Is there any way to access the entries of this bean from within the
> controller?
>
> Thanks,
>
> 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

-- 
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