01: <html>
02:    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
03:    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
04: 
05:    <f:view>
06:       <head>                  
07:          <title>The timezone application</title>
08:       </head>
09:       <body>
10:          <h:form>
11:             <p>
12:                The current date and time in 
13:                <h:outputText value="#{zone.city}"/>
14:                is: 
15:                <h:outputText value="#{zone.time}"/>
16:             </p>
17:             <p>
18:                Set time zone:
19:                <h:inputText value="#{zone.city}"/>
20:             </p>
21:             <p>
22:                <h:commandButton value="Submit"/>
23:             </p>
24:          </h:form>
25:       </body>
26:    </f:view>
27: </html>
28: