This commit is contained in:
Keith Donald
2008-03-27 18:34:52 +00:00
parent 75e3c54bfc
commit 794b7345a9

View File

@@ -36,7 +36,7 @@
<h:form id="bookingsForm">
<h2>Current Hotel Bookings</h2>
<h:outputText value="No Bookings Found" rendered="#{searchController.bookings.rowCount == 0}"/>
<h:dataTable id="bookings" styleClass="summary" value="#{searchController.bookings}" var="booking" rendered="#{empty searchController.bookings or searchController.bookings.rowCount > 0}">
<h:dataTable id="bookings" styleClass="summary" value="#{searchController.bookings}" var="booking" rendered="#{searchController.bookings.rowCount > 0}">
<h:column>
<f:facet name="header">Name</f:facet>
#{booking.hotel.name}