[seam-commits] Seam SVN: r9134 - trunk/examples/nestedbooking/view.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Sep 24 05:23:15 EDT 2008
Author: jharting
Date: 2008-09-24 05:23:15 -0400 (Wed, 24 Sep 2008)
New Revision: 9134
Modified:
trunk/examples/nestedbooking/view/edit.xhtml
trunk/examples/nestedbooking/view/main.xhtml
trunk/examples/nestedbooking/view/password.xhtml
trunk/examples/nestedbooking/view/register.xhtml
Log:
JBSEAM-3431 Added ids for nestedbooking example.
Modified: trunk/examples/nestedbooking/view/edit.xhtml
===================================================================
--- trunk/examples/nestedbooking/view/edit.xhtml 2008-09-24 07:43:32 UTC (rev 9133)
+++ trunk/examples/nestedbooking/view/edit.xhtml 2008-09-24 09:23:15 UTC (rev 9134)
@@ -6,16 +6,16 @@
xmlns:s="http://jboss.com/products/seam/taglib">
<div class="entry">
- <s:label styleClass="label #{invalid?'errors':''}">
+ <s:label id="Label" styleClass="label #{invalid?'errors':''}">
<ui:insert name="label"/>
- <s:span styleClass="required" rendered="#{required}">*</s:span>
+ <s:span id="RequiredStyle" styleClass="required" rendered="#{required}">*</s:span>
</s:label>
<span class="input #{invalid?'errors':''}">
- <s:validateAll>
+ <s:validateAll id="ValidateAll">
<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/nestedbooking/view/main.xhtml
===================================================================
--- trunk/examples/nestedbooking/view/main.xhtml 2008-09-24 07:43:32 UTC (rev 9133)
+++ trunk/examples/nestedbooking/view/main.xhtml 2008-09-24 09:23:15 UTC (rev 9134)
@@ -26,7 +26,7 @@
 
<a:status>
<f:facet name="start">
- <h:graphicImage value="/img/spinner.gif"/>
+ <h:graphicImage id="SpinnerGif" value="/img/spinner.gif"/>
</f:facet>
</a:status>
<br/>
@@ -43,26 +43,26 @@
<a:outputPanel id="searchResults">
<div class="section">
- <h:outputText value="No Hotels Found" rendered="#{hotels != null and hotels.rowCount==0}"/>
+ <h:outputText id="NoBookingsFoundMessage" value="No Hotels Found" rendered="#{hotels != null and hotels.rowCount==0}"/>
<h:dataTable id="hotels" value="#{hotels}" var="hot" rendered="#{hotels.rowCount>0}">
- <h:column>
- <f:facet name="header">Name</f:facet>
+ <h:column id="column1">
+ <f:facet id="NameFacet" name="header">Name</f:facet>
#{hot.name}
</h:column>
- <h:column>
- <f:facet name="header">Address</f:facet>
+ <h:column id="column2">
+ <f:facet id="AddressFacet" name="header">Address</f:facet>
#{hot.address}
</h:column>
- <h:column>
- <f:facet name="header">City, State</f:facet>
+ <h:column id="column3">
+ <f:facet id="CityStateFacet" name="header">City, State</f:facet>
#{hot.city}, #{hot.state}, #{hot.country}
</h:column>
- <h:column>
- <f:facet name="header">Zip</f:facet>
+ <h:column id="column4">
+ <f:facet id="ZipFacet" name="header">Zip</f:facet>
#{hot.zip}
</h:column>
- <h:column>
- <f:facet name="header">Action</f:facet>
+ <h:column id="column5">
+ <f:facet id="ActionFacet" name="header">Action</f:facet>
<s:link id="viewHotel" value="View Hotel" action="#{hotelBooking.selectHotel(hot)}"/>
</h:column>
</h:dataTable>
Modified: trunk/examples/nestedbooking/view/password.xhtml
===================================================================
--- trunk/examples/nestedbooking/view/password.xhtml 2008-09-24 07:43:32 UTC (rev 9133)
+++ trunk/examples/nestedbooking/view/password.xhtml 2008-09-24 09:23:15 UTC (rev 9134)
@@ -14,18 +14,18 @@
<h:form id="setpassword">
<fieldset>
- <s:decorate template="edit.xhtml">
+ <s:decorate id="PasswordDecorate" template="edit.xhtml">
<ui:define name="label">Password</ui:define>
<h:inputSecret id="password" value="#{user.password}" required="true" />
</s:decorate>
- <s:decorate template="edit.xhtml">
+ <s:decorate id="VerifyDecorate" template="edit.xhtml">
<ui:define name="label">Verify:</ui:define>
<h:inputSecret id="verify" value="#{changePassword.verify}" required="true"/>
</s:decorate>
<div class="entry errors">
- <h:messages globalOnly="true"/>
+ <h:messages id="messages" globalOnly="true"/>
</div>
<div class="entry">
Modified: trunk/examples/nestedbooking/view/register.xhtml
===================================================================
--- trunk/examples/nestedbooking/view/register.xhtml 2008-09-24 07:43:32 UTC (rev 9133)
+++ trunk/examples/nestedbooking/view/register.xhtml 2008-09-24 09:23:15 UTC (rev 9134)
@@ -40,18 +40,18 @@
</h:inputText>
</s:decorate>
- <s:decorate template="edit.xhtml">
+ <s:decorate id="passwordDecorate" template="edit.xhtml">
<ui:define name="label">Password:</ui:define>
<h:inputSecret id="password" value="#{user.password}" required="true"/>
</s:decorate>
- <s:decorate template="edit.xhtml">
+ <s:decorate id="verifyDecorate" template="edit.xhtml">
<ui:define name="label">Verify Password:</ui:define>
<h:inputSecret id="verify" value="#{register.verify}" required="true"/>
</s:decorate>
<div class="entry errors">
- <h:messages globalOnly="true"/>
+ <h:messages id="messages" globalOnly="true"/>
</div>
<div class="entry">
More information about the seam-commits
mailing list