This commit is contained in:
Keith Donald
2008-03-07 20:21:32 +00:00
parent 2e7aefc9b2
commit f9d08a93f2
5 changed files with 16 additions and 20 deletions

View File

@@ -14,7 +14,7 @@
<h:messages globalOnly="true"/>
</span>
<h2>Search Hotels</h2>
<h:form id="mainForm"><br/><br/>
<h:form id="mainForm">
<fieldset>
<div class="searchGroup">
<div class="searchField">

View File

@@ -9,27 +9,24 @@
<ui:define name="content">
<div class="section">
<h1>Welcome to the Spring Faces Sample Application</h1>
<h1>Welcome to Spring Travel</h1>
<p>
This hotel booking sample application illustrates "Spring Faces", Spring's first-class support for Java Server Faces (JSF).
Spring Faces integrates Spring, Spring Web Flow, Dojo, Ext, and Facelets to provide a
compelling solution for developing rich web applications with JSF.
</p>
<p>
Currently, Spring Faces is released as a component of the Spring Web Flow distribution,
and has been available beginning with Spring Web Flow 2.0.
This reference application illustrates <a href="http://www.springframework.org/faces">Spring Faces</a>,
a software library that focuses on the development of rich web applications using Spring and JavaServerFaces.
</p>
<p>
The key features illustrated in this sample include:
</p>
<ul>
<li>A unified navigation model</li>
<li>A robust state management model</li>
<li>Modularization of web application functionality by domain responsibility</li>
<li>Flow-managed persistence contexts with the Java Persistence API (JPA)</li>
<li>A declarative navigation model enabling full browser button support and dynamic navigation rules</li>
<li>A fine-grained state management model, including support for ConversationScope and ViewScope</li>
<li>Modularization of web application functionality by domain use case, illustrating project structure best-practices</li>
<li>Managed persistence contexts with the Java Persistence API (JPA)</li>
<li>Unified Expression Language (EL) integration</li>
<li>Client-side validation with Dojo and Ext</li>
<li>Spring IDE integration, with support for graphical flow modeling</li>
<li>Spring Security integration</li>
<li>A lightweight component library for Ajax and client-side validation that employs progressive enhancement techniques</li>
<li>Exception handling support across all layers of the application</li>
<li>Spring IDE tooling integration, with support for graphical flow modeling and visualization</li>
</ul>
<p align="right">
<a href="flows/main">Start your hotel booking experience</a>

View File

@@ -20,7 +20,7 @@
<div id="page">
<div id="header" class="clearfix spring">
<div id="welcome">
<div class="left">Spring Faces: Hotel Booking Sample Application</div>
<div class="left">Spring Travel: A Spring Faces Reference Application</div>
<div class="right">
<c:if test="${currentUser.name != 'roleAnonymous'}">
Welcome, ${currentUser.name} <a href="${request.contextPath}/spring/logout">Logout</a>
@@ -28,7 +28,7 @@
</div>
</div>
<div id="branding" class="spring">
<img src="${request.contextPath}/images/header.jpg" alt="foo bar"/>
<a href="#{request.contextPath}"><img src="${request.contextPath}/images/header.jpg" alt="Spring Travel"/></a>
</div>
</div>
<div id="content" class="clearfix spring">

View File

@@ -5,13 +5,10 @@
<ui:define name="content">
<div class="section">
<h1>Logout</h1>
<p>You have successfully logged out.</p>
</div>
</ui:define>
</ui:composition>

View File

@@ -62,6 +62,8 @@
#content .section {
width: 505px;
float: left;
margin-top: 5px;
margin-bottom: 5px;
}
#content.spring input[type="submit"], input[type="button"], button {