[seam-commits] Seam SVN: r9115 - trunk/examples/jpa/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Sep 23 09:25:48 EDT 2008


Author: jharting
Date: 2008-09-23 09:25:48 -0400 (Tue, 23 Sep 2008)
New Revision: 9115

Modified:
   trunk/examples/jpa/view/book.xhtml
   trunk/examples/jpa/view/conversations.xhtml
   trunk/examples/jpa/view/password.xhtml
Log:
JBSEAM-3431 Added ids for jpa example.

Modified: trunk/examples/jpa/view/book.xhtml
===================================================================
--- trunk/examples/jpa/view/book.xhtml	2008-09-23 13:14:08 UTC (rev 9114)
+++ trunk/examples/jpa/view/book.xhtml	2008-09-23 13:25:48 UTC (rev 9115)
@@ -49,11 +49,11 @@
 		<s:validateAll id="validateAll">
     
             <f:facet id="AroundInvalidFieldFacet" name="aroundInvalidField">
-                <s:span id="ErrorsSpan" styleClass="errors"/>
+                <s:span id="Error" styleClass="errors"/>
             </f:facet>
             <f:facet id="AfterInvalidFieldFacet" name="afterInvalidField">
-                <s:div id="ErrosDiv" styleClass="errors">
-               	    <s:message id="message"/>
+                <s:div id="Message" styleClass="errors">
+               	    <s:message/>
                	</s:div>
             </f:facet>
 		    
@@ -77,7 +77,7 @@
 			<div class="entry">
 				<div class="label"><h:outputLabel id="RoomPrefLabel" for="beds">Room Preference:</h:outputLabel></div>
 				<div class="input">
-					<s:decorate id="BookingBedsDecorate">
+					<s:decorate id="bedsDecorate">
 						<h:selectOneMenu id="beds" value="#{booking.beds}">
 							<f:selectItem id="OneKingBed" itemLabel="One king-size bed" itemValue="1"/>
 							<f:selectItem id="TwoDoubleBeds" itemLabel="Two double beds" itemValue="2"/>
@@ -90,7 +90,7 @@
 			<div class="entry">
 				<div class="label"><h:outputLabel id="SmokingPrefLabel" for="smoking">Smoking Preference:</h:outputLabel></div>
 				<div id="radio" class="input">
-					<s:decorate id="SmokingDecorate">
+					<s:decorate id="smokingDecorate">
 						<h:selectOneRadio id="smoking" value="#{booking.smoking}" layout="pageDirection">
 							<f:selectItem id="Smoking" itemLabel="Smoking" itemValue="true"/>
 							<f:selectItem id="NonSmoking" itemLabel="Non Smoking" itemValue="false"/>

Modified: trunk/examples/jpa/view/conversations.xhtml
===================================================================
--- trunk/examples/jpa/view/conversations.xhtml	2008-09-23 13:14:08 UTC (rev 9114)
+++ trunk/examples/jpa/view/conversations.xhtml	2008-09-23 13:25:48 UTC (rev 9115)
@@ -12,12 +12,12 @@
 </div>
 
 <div class="section">
-    <h:form id="Conversations">
-        <h:dataTable id="ConversationList" value="#{conversationList}" var="entry">
+    <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 id="EntryCurrent" value="[current]" rendered="#{entry.current}"/>
+                <h:outputText id="CurrentEntry" value="[current]" rendered="#{entry.current}"/>
             </h:column>
             <h:column id="column2">
                 <h:outputText id="EntryStartDateTime" value="#{entry.startDatetime}">

Modified: trunk/examples/jpa/view/password.xhtml
===================================================================
--- trunk/examples/jpa/view/password.xhtml	2008-09-23 13:14:08 UTC (rev 9114)
+++ trunk/examples/jpa/view/password.xhtml	2008-09-23 13:25:48 UTC (rev 9115)
@@ -19,7 +19,7 @@
 	    </f:facet>
  	    <f:facet id="AfterInvalidFieldFacet" name="afterInvalidField">
             <s:div styleClass="errors">
-                <s:message id="message"/>
+                <s:message id="Message"/>
             </s:div>
  	    </f:facet>
 		    
@@ -28,7 +28,7 @@
 			<div class="entry">
 				<div class="label"><h:outputLabel id="PasswordLabel" for="password">Password:</h:outputLabel></div>
 				<div class="input">
-					<s:decorate id="DecoratePassword">
+					<s:decorate id="PasswordDecorate">
 						<h:inputSecret id="password" value="#{user.password}" required="true">
 							<s:validate/>
 						</h:inputSecret>
@@ -39,7 +39,7 @@
 			<div class="entry">
 				<div class="label"><h:outputLabel id="VerifyLabel" for="verify">Verify:</h:outputLabel></div>
 				<div class="input">
-					<s:decorate id="DecoratePasswordVerify">
+					<s:decorate id="VerifyDecorate">
 						<h:inputSecret id="verify" value="#{changePassword.verify}" required="true"/>
 					</s:decorate>
 				</div>




More information about the seam-commits mailing list