I have some application configuration variables defined in my
ColdSpring file and I can pull from them using the GetConfigSettings()
method. However, I was wondering if there is a way to update those
values via a SetConfigSetting() method? I know that the
ModelGlue.Bean.CommonBeans.SimpleConfig class does not have this
method, but does anyone know an alternative way of updating one or
more of my loaded config values?

Basically, the reason I want to do this is that I have a site that
needs to be put into maintenance mode to prevent additional DB updates
while data is brought off-line. I have a config value called
maintenanceMode that initially has a value of False. I want to give my
client the ability to toggle this to True via a single link in their
admin. Obviously this would be an in-memory update only so if the app
was restarted, it would revert back to the persistent value of False.

Any ideas?

Thanks,

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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to