ControllerAdvice beans in RED FLAGS webapp

Below I list the ControllerAdvice beans and the model attributes they add.


Model attribute Description
lang Value returned by getLanguage() of the current Locale object
language Value returned by getDisplayLanguage() of the current Locale object
languages Value of site.languages property split by ,. Default value: en,hu


Model attribute Description
message Value of site.message property. Default value: empty string
printCaptcha Value of site.useCaptcha property, injected in Default value: true


Model attribute Description
appTitle Value of app.title property defined in, injected in
built Timestamp of the application start (yeah, it's not the build time but it's usually close :))
version Value of app.version property defined in, injected in