CAS views are not parsed by velocity
Misagh Moayyed
mmoayyed at unicon.net
Mon Aug 24 15:57:30 EDT 2015
Ah, interesting. This is my bad. I know what happened. I ran a plugin to
make sure all files had the right license header. It ended up adding license
blocks to those templates, which is sort of nice, but turns out that it’s
perhaps not needed. So only Java classes have license headers? How are these
headers updated by the team?
From: dev [mailto:dev-bounces at shibboleth.net] On Behalf Of Marvin Addison
Sent: Monday, August 24, 2015 12:46 PM
To: Shib Dev <dev at shibboleth.net>
Subject: Re: CAS views are not parsed by velocity
A number of CAS views use #include tags for header and footer fragments.
Using that directive causes velocity to not parse the fragment, which causes
its entire content to be dumped on the page.
The header and footer don't include any content that needs to be parsed:
http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/views/cas/header.vm?view=markup
http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/views/cas/footer.vm?revision=7252
<http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/views/cas/footer.vm?revision=7252&view=markup>
&view=markup
Maybe your IDE is being "helpful" by adding a licensing header to all files
you open?
M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150824/4c7bee5a/attachment-0001.html>
More information about the dev
mailing list