Adding the <sf:includStyles/> tag for resource loading optimization.

This commit is contained in:
Jeremy Grelle
2008-03-20 14:51:44 +00:00
parent 5ebd359fbc
commit d6b8d44d28

View File

@@ -2,11 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core">
xmlns:c="http://java.sun.com/jstl/core"
xmlns:sf="http://www.springframework.org/tags/faces">
<f:view contentType="text/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Spring Faces: Hotel Booking Sample Application</title>
<sf:includeStyles/>
<style type="text/css" media="screen">
@import url("${request.contextPath}/resources/css-framework/css/tools.css");
@import url("${request.contextPath}/resources/css-framework/css/typo.css");