[Building Sakai] change config values on the fly

Matthew Jones matthew at longsight.com
Tue Oct 7 12:29:09 PDT 2014


Hi!

Based on what was known around the office as the Hedrick (properties) Hack
I'd kept it alive and expanded upon it. YMMV on this for sure, but this
worked for me and should get you a little further at least. There was work
in more recent versions of Sakai to make so properties could be registered
so maybe some day there'd be a UI that could change it like how the message
bundles can be changed live. But in any case it makes it a little different
for changing them now.

https://confluence.sakaiproject.org/x/KQPBBQ

On Tue, Oct 7, 2014 at 3:07 PM, Charles Hedrick <hedrick at rutgers.edu> wrote:

> I am in a situation where I’d like to change a configuration item on the
> fly. In 2.9 this was easy. Retrieve the map and change the value, and as
> long as the application read the map at use rather than remembering the
> value at init time, it worked.
>
> Now there’s this whole new configuration system that doesn’t seem to have
> the functionality to change any existing parameters. This is a bit of a
> step back for me. Any suggestions how to change a value?
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20141007/0369b770/attachment.html 


More information about the sakai-dev mailing list