Java Reference
In-Depth Information
will be used to book tickets, borrowing much of its code from the earlier chapter. So
here's the content from setup.xhtml :
<ui:define name="content">
<h1>Step #1: Theatre Setup</h1>
<div>
<p>Enter the information about Seats.</p>
<img src="resources/gfx/seat_chart.gif" />
</div>
<h:form id="reg">
<p>Add Seats.</p>
<h:panelGrid columns="3"
columnClasses="titleCell">
<h:outputLabel for="desc"
value="Description" />
<h:inputText id="desc"
value="#{newSeatType.description}" />
<h:message for="desc"
errorClass="invalid" />
<h:outputLabel for="price" value="Price:"
/>
<h:inputText id="price"
value="#{newSeatType.price}" />
<h:message for="price"
errorClass="invalid" />
<h:outputLabel for="quantity"
value="Number of Seats:" />
<h:inputText id="quantity"
value="#{newSeatType.quantity}" />
<h:message for="quantity"
errorClass="invalid" />
</h:panelGrid>
<p>
<h:panelGrid columns="2">
Search WWH ::




Custom Search