-<!--
  Copyright 1999-2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
-<page xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
<title>JavaServer Faces Test: Hello!</title>
-<content>
-<f:view>
-<h:form styleClass="form" id="form1">
-<table>
-<tr>
-<td>
Hello,
<h:outputText value="#{hello.value != null ? hello.value : 'Anonymous'}" id="text2"/>
!
</td>
</tr>
-<tr>
-<td>
-<h:inputText value="#{hello.value}" styleClass="inputText" id="text1" required="true">
<f:validateLength minimum="3"/>
</h:inputText>
<h:commandButton type="submit" value="Submit" id="button1" action="#{hello.doButton1Action}"/>
<h:commandButton type="submit" value="Flip" id="button2" action="#{hello.doButton2Action}"/>
</td>
</tr>
-<tr>
-<td>
<h:message style="color: red; text-decoration: overline" for="text1"/>
</td>
</tr>
</table>
</h:form>
</f:view>
<p> This page prompts for the name (required, minimum 3 characters length), and has navigation to the second page. </p>
</content>
</page>