You could maybe get it from an environment variable and set that per
environment eg
http://stackoverflow.com/questions/23711541/get-spring-application-environment-in-thymeleaf

If that doesn't work another way to get it would be to write a custom bean
under org.apereo.cas.web.flow that got the environment variable in Java,
but that's a bit more work.

On 2 February 2017 at 09:23, Jozef Kotlar - EEA.sk <[email protected]>
wrote:

> That way I cannot distinguish between prod/dev/fix environments without
> modifying the application self.
> Actually I am able to put that text to theme.properties, but still it is
> too constraining.
>
> Jozef
>
>
> On Wednesday, February 1, 2017 at 11:44:14 AM UTC+1, Ben Howell-Thomas
> wrote:
>>
>> Couldn't you just put it in the messages.properties file and access it
>> like the title eg "#{logo.file}"?
>>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/13de00fb-da64-4c30-9f7f-
> b21c8b4ce4b0%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/13de00fb-da64-4c30-9f7f-b21c8b4ce4b0%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
This email is sent on behalf of Northgate Public Services (UK) Limited and 
its associated companies including Rave Technologies (India) Pvt Limited 
(together "Northgate Public Services") and is strictly confidential and 
intended solely for the addressee(s). 
If you are not the intended recipient of this email you must: (i) not 
disclose, copy or distribute its contents to any other person nor use its 
contents in any way or you may be acting unlawfully;  (ii) contact 
Northgate Public Services immediately on +44(0)1908 264500 quoting the name 
of the sender and the addressee then delete it from your system.
Northgate Public Services has taken reasonable precautions to ensure that 
no viruses are contained in this email, but does not accept any 
responsibility once this email has been transmitted.  You should scan 
attachments (if any) for viruses.

Northgate Public Services (UK) Limited, registered in England and Wales 
under number 00968498 with a registered address of Peoplebuilding 2, 
Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 
4NN.  Rave Technologies (India) Pvt Limited, registered in India under 
number 117068 with a registered address of 2nd Floor, Ballard House, Adi 
Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAD0p8puG%2BQxAHBy_kExBqs4o_8anhK%3DgziN66KeB6gNKa00_Gw%40mail.gmail.com.

Reply via email to