Commits

Anonymous committed 432a3b9

Move header definitions out of templates

  • Participants
  • Parent commits 6e050af

Comments (0)

Files changed (1)

File compchem-handler/src/main/java/net/chempound/compchem/display/CompChemSplashPageWriter.java

 
     @Override
     public void write(final Model model, final URI aggregationUri, final Page page) throws IOException, TemplateException {
-        page.addParam("headers", headers);
+        page.addHeader(headers);
 
         final BeansWrapper wrapper = BeansWrapper.getDefaultInstance();
         final TemplateHashModel staticModels = wrapper.getStaticModels();