[seam-commits] Seam SVN: r13128 - examples/trunk/booking-simplified/src/main/webapp.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Jun 11 20:09:09 EDT 2010


Author: dan.j.allen
Date: 2010-06-11 20:09:08 -0400 (Fri, 11 Jun 2010)
New Revision: 13128

Modified:
   examples/trunk/booking-simplified/src/main/webapp/search.xhtml
Log:
remove security check


Modified: examples/trunk/booking-simplified/src/main/webapp/search.xhtml
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/search.xhtml	2010-06-11 22:48:12 UTC (rev 13127)
+++ examples/trunk/booking-simplified/src/main/webapp/search.xhtml	2010-06-12 00:09:08 UTC (rev 13128)
@@ -113,12 +113,12 @@
          <h1>Current Hotel Bookings</h1>
       </div>
       <div class="section">
-         <h:panelGroup rendered="#{not identity.loggedIn}">
+         <h:panelGroup rendered="#{false}">
             You must be logged in to see the list of your hotel bookings.
          </h:panelGroup>
-         <h:form id="bookings" rendered="#{identity.loggedIn}">
-            <h:outputText value="No bookings found." rendered="#{bookings.size == 0}"/>
-            <h:dataTable id="bookings" value="#{bookings}" var="_booking" rendered="#{bookings.size gt 0}">
+         <h:form id="bookings" rendered="#{true}">
+            <h:outputText value="No bookings found." rendered="#{bookings.size() == 0}"/>
+            <h:dataTable id="bookings" value="#{bookings}" var="_booking" rendered="#{bookings.size() gt 0}">
                <h:column id="nameCol">
                   <f:facet id="nameFct" name="header">Hotel name</f:facet>
                   #{_booking.hotel.name}



More information about the seam-commits mailing list