Java Reference
In-Depth Information
We can create the confirmation page via the New JSF File wizard.
We need to make sure the name of the new file matches the value of the action
attribute in the command button of the input page ( confirmation.xhtml ) so that
static navigation works properly.
After modifying the generated page to meet the requirements, it should look
like this:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>Confirmation Page</title>
<h:outputStylesheet library="css" name="styles.css"/>
</h:head>
<h:body>
<h2>Confirmation Page</h2>
<h:panelGrid columns="2"
columnClasses="rightalign-bold,normal">
 
Search WWH ::




Custom Search