This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected HttpSession proxySession(final boolean create, final HttpServletRequest request, | |
final HttpServletResponse response) { | |
if (log.isDebugEnabled()) { | |
log.debug("Proxying request for {}", request.getRequestURL()); | |
} | |
String sessionId = getCookieValue(request); | |
if (sessionId == null) { | |
if (!create) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.grails.plugin.resource.mapper.MapperPhase | |
class WoffResourceMapper { | |
static phase = MapperPhase.ALTERNATEREPRESENTATION | |
static defaultIncludes = [ '**/*.woff' ] | |
def map(resource, config) { | |
resource.requestProcessors << { req, resp -> | |
resp.setHeader('Content-Type', 'font/opentype') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).ready(function() { | |
//collapsible management | |
$('.collapsible').collapsible({ | |
defaultOpen: 'section1,section3' | |
}); | |
}); | |
</script> |
NewerOlder