webapp.templates.head.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of willow-servers Show documentation
Show all versions of willow-servers Show documentation
Willow operational servlets and servers
The newest version!
#set ($env = $system.getProperty("env"))
#set ($its = $system.getProperty("integration-test"))
#if ($env == "dev")
#set ($debug = "true")
#set ($wro = $xml.parse("classpath:wro.xml"))
#set ($cssarr = $xml.xpath("//*[local-name()='css']", $wro))
#foreach ($css in $cssarr)
#end
#set ($jsarr = $xml.xpath("//*[local-name()='js']", $wro))
#foreach ($js in $jsarr)
#set ($groupName = $js.getParentNode().getAttributes().getNamedItem("name").getTextContent())
#if ($its == "true" && $groupName == "app")
#else
#end
#end
#foreach ($key in $request.getAttributeNames())
#end
#foreach ($key in $session.getAttributeNames())
#end
#else
#set ($debug = "false")
#end