you could use this cas.messageBundle.commonNames=classpath:/common_messages.properties,file:/etc/cas/config/common_messages.properties
2018-02-05 19:07 GMT-03:00 Satnam Sarai <[email protected]>: > thanks that is helpful. > > > I placed two URLs in messages.properties file and I was able to access > those in HTML. Is it possible to externalize the messages.properties? Or > there is another better way to do this? I don't want to compile different > version for dev, staging and production sites. Currently, our > CAS.properties file is externalize. > > screen.pm.button.forgotpwd=Forget your password? <a href=" > https://localhost:8030/">Reset it</a> > screen.button.createAccount=<a href="https://localhost:8031/">Create > Account </a> > > > <span th:utext="#{screen.button.createAccount}"/> > <span th:utext="#{screen.pm.button.forgotpwd}"/> > > > On Monday, February 5, 2018 at 12:46:30 PM UTC-8, Manfredo Hopp wrote: >> >> jsp vs thymeleaf >> >> http://www.thymeleaf.org/doc/articles/thvsjsp.html >> >> 2018-02-05 17:42 GMT-03:00 Man H <[email protected]>: >> >>> depends on if those properties are defined to be accessed from thymeleaf >>> in cas. >>> >>> http://www.thymeleaf.org/doc/articles/springmvcaccessdata.html >>> >>> >>> 2018-02-05 16:56 GMT-03:00 Satnam Sarai <[email protected]>: >>> >>>> Hello, >>>> >>>> Is it possible to read value from cas.properties in .html views? in >>>> 4.2.x, we are reading two links from cas.properties file and creating link >>>> in casLoginView.jsp. >>>> >>>> thanks >>>> >>>> -- >>>> - Website: https://apereo.github.io/cas >>>> - Gitter Chatroom: https://gitter.im/apereo/cas >>>> - List Guidelines: https://goo.gl/1VRrw7 >>>> - Contributions: https://goo.gl/mh7qDG >>>> --- >>>> 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/ap >>>> ereo.org/d/msgid/cas-user/c686221b-203b-42e5-b16a-6c3c7ba220 >>>> 2a%40apereo.org >>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/c686221b-203b-42e5-b16a-6c3c7ba2202a%40apereo.org?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >> -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > 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/3e23b666-125e-40a0-a198- > d759cf90edf6%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/3e23b666-125e-40a0-a198-d759cf90edf6%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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/CAMY5mifV2D3SZreLDvD-JEYcYwZ-3A51ADam7bWRDFPipJnvjg%40mail.gmail.com.
