[seam-commits] Seam SVN: r8478 - branches/Seam_2_0/examples/icefaces/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jul 17 13:52:41 EDT 2008


Author: jguglielmin
Date: 2008-07-17 13:52:41 -0400 (Thu, 17 Jul 2008)
New Revision: 8478

Modified:
   branches/Seam_2_0/examples/icefaces/view/main.xhtml
Log:
JBPAPP-477 change ice:commandLink to s:link like seam trunk example

Modified: branches/Seam_2_0/examples/icefaces/view/main.xhtml
===================================================================
--- branches/Seam_2_0/examples/icefaces/view/main.xhtml	2008-07-16 20:13:13 UTC (rev 8477)
+++ branches/Seam_2_0/examples/icefaces/view/main.xhtml	2008-07-17 17:52:41 UTC (rev 8478)
@@ -47,7 +47,9 @@
   <div class="section" style="overflow:auto">
 	<h:outputText 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}">
+            <ice:dataTable id="hotels" value="#{hotels}" 
+                  resizable="true"
+                  var="hot" rendered="#{hotels.rowCount>0}">
                 <h:column>
                     <f:facet name="header">Name</f:facet>
                     <ice:outputText value="#{hot.name}" onmouseovereffect="#{highlight}"/>
@@ -66,7 +68,7 @@
                 </h:column>
                 <h:column>
                     <f:facet name="header">Action</f:facet>
-                    <ice:commandLink id="viewHotel" value="View Hotel" action="#{hotelBooking.selectHotel(hot)}"/>
+                    <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}"/>




More information about the seam-commits mailing list