Author: manaRH
Date: 2008-11-18 19:14:22 -0500 (Tue, 18 Nov 2008)
New Revision: 9603
Modified:
branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/confirm.xhtml
branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/main.xhtml
branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/rooms.xhtml
Log:
adding ids for nestedbooking example
Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/confirm.xhtml
===================================================================
---
branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/confirm.xhtml 2008-11-18
23:41:44 UTC (rev 9602)
+++
branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/confirm.xhtml 2008-11-19
00:14:22 UTC (rev 9603)
@@ -64,7 +64,7 @@
<ui:define name="label">Credit Card #:</ui:define>
#{booking.creditCard}
</s:decorate>
- <s:decorate template="output.xhtml">
+ <s:decorate id="buttonDecorate" template="output.xhtml">
<ui:define name="label"> </ui:define>
<h:commandButton id="confirm" value="Confirm"
action="#{hotelBooking.confirm}"/> 
<s:button id="revise" value="Revise"
view="/payment.xhtml"/> 
Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/main.xhtml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/main.xhtml 2008-11-18
23:41:44 UTC (rev 9602)
+++ branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/main.xhtml 2008-11-19
00:14:22 UTC (rev 9603)
@@ -13,7 +13,7 @@
<h:form id="main">
<span class="errors">
- <h:messages globalOnly="true"/>
+ <h:messages id="messages" globalOnly="true"/>
</span>
<h1>Search Hotels</h1>
Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/rooms.xhtml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/rooms.xhtml 2008-11-18
23:41:44 UTC (rev 9602)
+++ branches/enterprise/JBPAPP_4_3_FP01/examples/nestedbooking/view/rooms.xhtml 2008-11-19
00:14:22 UTC (rev 9603)
@@ -1,4 +1,4 @@
-<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+ <ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
@@ -23,7 +23,7 @@
<br/><br/>
- <h:dataTable value="#{availableRooms}" var="room"
rendered="#{availableRooms.rowCount > 0}">
+ <h:dataTable id="rooms" value="#{availableRooms}"
var="room" rendered="#{availableRooms.rowCount > 0}">
<h:column>
<f:facet name="header">Name</f:facet>
#{room.name}