Java Reference
In-Depth Information
<div class="panel-heading">
<h2 class="panel-title">Seats List</h2>
</div>
<div class="panel-body">
<h:form id="reg2">
<h:commandButton id="Finish"
action="#{theatreSetupService.createTheatre}"
value="Finalize the theatre setup"
styleClass="btn btn-default btn-block"
/>
</h:form>
</div>
<h:panelGroup rendered="#{empty seatTypes}">
<em>No Seats Added.</em>
</h:panelGroup>
<h:dataTable var="seatType" value="#{seatTypes}"
rendered="#{not empty seatTypes}"
styleClass="table table-hover table-striped ">
<h:column>
<f:facet name="header">Id</f:facet>
#{seatType.id}
</h:column>
<h:column>
<f:facet name="header">Name</f:facet>
#{seatType.description}
</h:column>
<h:column>
<f:facet name="header">Position</f:facet>
#{seatType.position.label}
</h:column>
<h:column>
<f:facet name="header">Price</f:facet>
$ #{seatType.price}
</h:column>
<h:column>
<f:facet name="header">Quantity</f:facet>
#{seatType.quantity}
</h:column>
Search WWH ::




Custom Search