From: Gavin K. <gav...@jb...> - 2006-04-02 23:51:21
|
User: gavin Date: 06/04/02 19:51:17 Modified: examples/booking/view main.xhtml Log: use s:link Revision Changes Path 1.15 +2 -5 jboss-seam/examples/booking/view/main.xhtml (In the diff below, changes in quantity of whitespace are not shown.) Index: main.xhtml =================================================================== RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/main.xhtml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -b -r1.14 -r1.15 --- main.xhtml 1 Apr 2006 11:16:05 -0000 1.14 +++ main.xhtml 2 Apr 2006 23:51:17 -0000 1.15 @@ -48,10 +48,7 @@ </h:column> <h:column> <f:facet name="header">Action</f:facet> - <s:actionLink action="#{hotelBooking.selectHotel}"> - View Hotel - <f:param name="hotelId" value="#{hot.id}"/> - </s:actionLink> + <s:link value="View Hotel" action="#{hotelBooking.selectHotel}"/> </h:column> </h:dataTable> </div> @@ -93,7 +90,7 @@ </h:column> <h:column> <f:facet name="header">Action</f:facet> - <h:commandLink action="#{bookingList.cancel}">Cancel</h:commandLink> + <h:commandLink value="Cancel" action="#{bookingList.cancel}"/> </h:column> </h:dataTable> </h:form> |