[seam-commits] Seam SVN: r9214 - trunk/examples/icefaces/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Oct 7 05:29:21 EDT 2008


Author: jharting
Date: 2008-10-07 05:29:21 -0400 (Tue, 07 Oct 2008)
New Revision: 9214

Modified:
   trunk/examples/icefaces/view/conversations.xhtml
   trunk/examples/icefaces/view/edit.xhtml
   trunk/examples/icefaces/view/main.xhtml
   trunk/examples/icefaces/view/password.xhtml
   trunk/examples/icefaces/view/register.xhtml
Log:
JBSEAM-3431 Added ids for icefaces example.

Modified: trunk/examples/icefaces/view/conversations.xhtml
===================================================================
--- trunk/examples/icefaces/view/conversations.xhtml	2008-10-07 08:38:34 UTC (rev 9213)
+++ trunk/examples/icefaces/view/conversations.xhtml	2008-10-07 09:29:21 UTC (rev 9214)
@@ -12,19 +12,19 @@
 	</div>
 	
 	<div class="section">
-	    <h:form>
-	        <h:dataTable value="#{conversationList}" var="entry">
-	            <h:column>
-	                <h:commandLink action="#{entry.select}" value="#{entry.description}"/>
+	    <h:form id="ConversationListForm">
+	        <h:dataTable id="ConversationListDataTable" value="#{conversationList}" var="entry">
+	            <h:column id="column1">
+	                <h:commandLink id="EntryDescriptionLink" action="#{entry.select}" value="#{entry.description}"/>
 	                &#160;
-	                <h:outputText value="[current]" rendered="#{entry.current}"/>
+	                <h:outputText id="CurrentEntry" value="[current]" rendered="#{entry.current}"/>
 	            </h:column>
-	            <h:column>
-	                <h:outputText value="#{entry.startDatetime}">
+	            <h:column id="column2">
+	                <h:outputText id="EntryStartDateTime" value="#{entry.startDatetime}">
 	                    <s:convertDateTime type="time" pattern="hh:mm"/>
 	                </h:outputText>
 	                -
-	                <h:outputText value="#{entry.lastDatetime}">
+	                <h:outputText id="EntryLastDateTime" value="#{entry.lastDatetime}">
 	                    <s:convertDateTime type="time" pattern="hh:mm"/>
 	                </h:outputText>
 	            </h:column>

Modified: trunk/examples/icefaces/view/edit.xhtml
===================================================================
--- trunk/examples/icefaces/view/edit.xhtml	2008-10-07 08:38:34 UTC (rev 9213)
+++ trunk/examples/icefaces/view/edit.xhtml	2008-10-07 09:29:21 UTC (rev 9214)
@@ -14,7 +14,7 @@
                 <ui:insert/>
             </s:validateAll>
         </span>
-        <s:message styleClass="error errors"/>
+        <s:message id="message" styleClass="error errors"/>
     </div>
     
 </ui:composition>
\ No newline at end of file

Modified: trunk/examples/icefaces/view/main.xhtml
===================================================================
--- trunk/examples/icefaces/view/main.xhtml	2008-10-07 08:38:34 UTC (rev 9213)
+++ trunk/examples/icefaces/view/main.xhtml	2008-10-07 09:29:21 UTC (rev 9214)
@@ -13,7 +13,7 @@
 <div class="section">
   
     <span class="errors">
-       <h:messages globalOnly="true"/>
+       <h:messages id="messages" globalOnly="true"/>
     </span>
     
     <h1>Search Hotels</h1>
@@ -26,7 +26,7 @@
                  &#160;
                  <ice:commandButton id="findHotels" value="Find Hotels" action="#{hotelSearch.find}" />
                  &#160;
-            <ice:outputConnectionStatus activeLabel="requesting..." styleClass="connectionStatus"/>
+            <ice:outputConnectionStatus id="Spinner" activeLabel="requesting..." styleClass="connectionStatus"/>
 	        <br/>
  
             <h:outputLabel for="pageSize">Maximum results:</h:outputLabel>&#160;
@@ -42,34 +42,34 @@
     </h:form>
     
 </div>
-<ice:form>
+<ice:form id="searchResults">
     <ice:panelGroup id="searchResults">
   <div class="section" style="overflow:auto">
-	<h:outputText value="No Hotels Found" rendered="#{hotels != null and hotels.rowCount==0}"/>
+	<h:outputText id="NoHotelsFoundMessage" value="No Hotels Found" rendered="#{hotels != null and hotels.rowCount==0}"/>
             <ice:outputText value="Search Results"/>
             <ice:dataTable id="hotels" value="#{hotels}" var="hot" rendered="#{hotels.rowCount>0}">
                 <h:column>
                     <f:facet name="header">Name</f:facet>
-                    <ice:outputText value="#{hot.name}" onmouseovereffect="#{highlight}"/>
+                    <ice:outputText id="name" value="#{hot.name}" onmouseovereffect="#{highlight}"/>
                 </h:column>
                 <h:column>
                     <f:facet name="header">Address</f:facet>
-                    <ice:outputText value="#{hot.address}" onmouseovereffect="#{highlight}"/>
+                    <ice:outputText id="address" value="#{hot.address}" onmouseovereffect="#{highlight}"/>
                 </h:column>
                 <h:column>
                     <f:facet name="header">City, State</f:facet>
-                    <ice:outputText value="#{hot.city}, #{hot.state}, #{hot.country}" onmouseovereffect="#{highlight}"/>
+                    <ice:outputText id="city" value="#{hot.city}, #{hot.state}, #{hot.country}" onmouseovereffect="#{highlight}"/>
                 </h:column> 
                 <h:column>
                     <f:facet name="header">Zip</f:facet>
-                    <ice:outputText value="#{hot.zip}" onmouseovereffect="#{highlight}"/>
+                    <ice:outputText id="zip" value="#{hot.zip}" onmouseovereffect="#{highlight}"/>
                 </h:column>
                 <h:column>
                     <f:facet name="header">Action</f:facet>
                     <s:link id="viewHotel" value="View Hotel" action="#{hotelBooking.selectHotel(hot)}"/>
                 </h:column>
             </ice:dataTable>
-            <s:link value="More results" action="#{hotelSearch.nextPage}" rendered="#{hotelSearch.nextPageAvailable}"/>
+            <s:link id="moreResults" value="More results" action="#{hotelSearch.nextPage}" rendered="#{hotelSearch.nextPageAvailable}"/>
         </div>
     </ice:panelGroup>
 </ice:form>
@@ -82,27 +82,27 @@
 	<ice:dataTable id="bookings" value="#{bookings}" var="book" rendered="#{bookings.rowCount>0}">
 		<h:column>
 			<f:facet name="header">Name</f:facet>
-			<ice:outputText value="#{book.hotel.name}" onmouseovereffect="#{highlight}"/>
+			<ice:outputText id="name" value="#{book.hotel.name}" onmouseovereffect="#{highlight}"/>
 		</h:column>
 		<h:column>
 			<f:facet name="header">Address</f:facet>
-			<ice:outputText value="#{book.hotel.address}" onmouseovereffect="#{highlight}"/>
+			<ice:outputText id="address" value="#{book.hotel.address}" onmouseovereffect="#{highlight}"/>
 		</h:column>
 		<h:column>
 			<f:facet name="header">City, State</f:facet>
-			<ice:outputText value="#{book.hotel.city}, #{book.hotel.state}" onmouseovereffect="#{highlight}"/>
+			<ice:outputText id="city" value="#{book.hotel.city}, #{book.hotel.state}" onmouseovereffect="#{highlight}"/>
 		</h:column>
         <h:column>
             <f:facet name="header">Check in date</f:facet>
-            <h:outputText value="#{book.checkinDate}" onmouseovereffect="#{highlight}"/>
+            <h:outputText id="checkIn" value="#{book.checkinDate}" onmouseovereffect="#{highlight}"/>
         </h:column>
         <h:column>
             <f:facet name="header">Check out date</f:facet>
-            <h:outputText value="#{book.checkoutDate}" onmouseovereffect="#{highlight}"/>
+            <h:outputText id="checkOut" value="#{book.checkoutDate}" onmouseovereffect="#{highlight}"/>
         </h:column>
 		<h:column>
 			<f:facet name="header">Confirmation number</f:facet>
-			<ice:outputText value="#{book.id}" onmouseovereffect="#{highlight}"/>
+			<ice:outputText id="confirmation" value="#{book.id}" onmouseovereffect="#{highlight}"/>
 		</h:column>
 		<h:column>
 			<f:facet name="header">Action</f:facet>

Modified: trunk/examples/icefaces/view/password.xhtml
===================================================================
--- trunk/examples/icefaces/view/password.xhtml	2008-10-07 08:38:34 UTC (rev 9213)
+++ trunk/examples/icefaces/view/password.xhtml	2008-10-07 09:29:21 UTC (rev 9214)
@@ -23,7 +23,7 @@
 
 
 	<div class="entry errors">
-		<h:messages globalOnly="true"/>
+		<h:messages id="messages" globalOnly="true"/>
 	</div>
 			
 	<h:form id="setpassword">
@@ -34,7 +34,7 @@
 
 		
 
-			<s:decorate template="edit.xhtml">
+			<s:decorate id="PasswordDecorate" template="edit.xhtml">
 
 				<ui:define name="label">Password:</ui:define>
 
@@ -44,7 +44,7 @@
 
 			
 
-			<s:decorate template="edit.xhtml">
+			<s:decorate id="VerifyDecorate" template="edit.xhtml">
 				<ui:define name="label">Verify:</ui:define>
                             <ice:inputSecret id="verify" value="#{changePassword.verify}" 
                             redisplay="true" required="true"/>

Modified: trunk/examples/icefaces/view/register.xhtml
===================================================================
--- trunk/examples/icefaces/view/register.xhtml	2008-10-07 08:38:34 UTC (rev 9213)
+++ trunk/examples/icefaces/view/register.xhtml	2008-10-07 09:29:21 UTC (rev 9214)
@@ -48,7 +48,7 @@
 			
 			<div class="section" style="overflow:auto">
 				<div class="entry errors">
-					<h:messages globalOnly="true"/>
+					<h:messages id="messages" globalOnly="true"/>
 				</div>
 
                 <h:form id="registration">




More information about the seam-commits mailing list