Re: [cas-user] Re: custom header/footer values from properties.

2018-09-14 Thread Curtis Ruck
Great.  Thanks!

--
Curtis Ruck


On Fri, Sep 14, 2018 at 5:17 PM Jeff Sittler  wrote:

> Hi Curtis,
>
> I am working on the CAS documentation and that is one area that I am
> hoping to address and expand upon.
>
> Try using something like this:
>  th:text="${@environment.getProperty('your.property.key.reference.goes.here')}"
> th:remove="tag" />
>
> -Jeff
>
> On Wednesday, September 12, 2018 at 12:17:01 PM UTC-7, Curtis Ruck wrote:
>>
>> I need to add some static data wired from cas.properties into my theme's
>> header.html/footer.html.  It seems thymeleaf is the new templating language
>> and I can't find a tutorial or example on how to wire items from a
>> CustomConfigurationProperties class into the templates.  Any suggestions
>> for reading materials or examples?
>>
> --
> - 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/8c126c31-f595-4b17-aa3e-f8f001932468%40apereo.org
> 
> .
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFgGLFdXOBet9n7mT%2BzZkxyTfU%2BmofFrzi5YXMAE5PhRFiR1gg%40mail.gmail.com.


[cas-user] Re: custom header/footer values from properties.

2018-09-14 Thread Jeff Sittler
Hi Curtis,

I am working on the CAS documentation and that is one area that I am hoping 
to address and expand upon.

Try using something like this:


-Jeff

On Wednesday, September 12, 2018 at 12:17:01 PM UTC-7, Curtis Ruck wrote:
>
> I need to add some static data wired from cas.properties into my theme's 
> header.html/footer.html.  It seems thymeleaf is the new templating language 
> and I can't find a tutorial or example on how to wire items from a 
> CustomConfigurationProperties class into the templates.  Any suggestions 
> for reading materials or examples?
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8c126c31-f595-4b17-aa3e-f8f001932468%40apereo.org.