문제

I've followed the user manual to apply a default template, e.g. in the projects src/main/webapp/WEB-INF/scalate/layouts/default.scaml I have a template that's supposed to get applied to all scaml files, but when I hit my test page (in src/main/webapp/WEB-INF/views/x/view.scaml) it only renders the content in that one page. Even if I put an explicit layout attribute at the top it still doesn't render, i.e.

- attributes ("layout") = "/WEB-INF/scalate/layouts/default.scaml"

Any idea on what I could be doing wrong?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top