[jboss-cvs] jboss-seam/examples/booking/view ...
Peter Muir
peter at bleepbleep.org.uk
Thu Sep 6 18:57:34 EDT 2007
User: pmuir
Date: 07/09/06 18:57:34
Modified: examples/booking/view book.xhtml main.xhtml
Log:
Deprecate s:selectDate - JBSEAM-1870
Revision Changes Path
1.37 +4 -15 jboss-seam/examples/booking/view/book.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: book.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/book.xhtml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- book.xhtml 21 Mar 2007 00:45:31 -0000 1.36
+++ book.xhtml 6 Sep 2007 22:57:34 -0000 1.37
@@ -4,7 +4,8 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:a="https://ajax4jsf.dev.java.net/ajax"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
template="template.xhtml">
<!-- content -->
@@ -26,24 +27,12 @@
<s:decorate id="checkinDateDecorate" template="edit.xhtml">
<ui:define name="label">Check In Date:</ui:define>
- <h:inputText id="checkinDate" value="#{booking.checkinDate}" required="true">
- <s:convertDateTime pattern="MM/dd/yyyy"/>
- <a:support event="onblur" reRender="checkinDateDecorate"/>
- </h:inputText>
- <s:selectDate for="checkinDate">
- <h:graphicImage url="img/dtpick.gif" style="margin-left:5px;cursor:pointer"/>
- </s:selectDate>
+ <rich:calendar id="checkinDate" value="#{booking.checkinDate}" required="true" datePattern="MM/dd/yyyy" event="onblur" reRender="checkinDateDecorate" />
</s:decorate>
<s:decorate id="checkoutDateDecorate" template="edit.xhtml">
<ui:define name="label">Check Out Date:</ui:define>
- <h:inputText id="checkoutDate" value="#{booking.checkoutDate}" required="true">
- <s:convertDateTime pattern="MM/dd/yyyy"/>
- <a:support event="onblur" reRender="checkoutDateDecorate"/>
- </h:inputText>
- <s:selectDate for="checkoutDate">
- <h:graphicImage url="img/dtpick.gif" style="margin-left:5px;cursor:pointer"/>
- </s:selectDate>
+ <rich:calendar id="checkoutDate" value="#{booking.checkoutDate}" required="true" datePattern="MM/dd/yyyy" event="onblur" reRender="checkoutDateDecorate" />
</s:decorate>
<s:decorate id="bedsDecorate" template="edit.xhtml">
1.30 +1 -1 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.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- main.xhtml 18 Mar 2007 20:22:45 -0000 1.29
+++ main.xhtml 6 Sep 2007 22:57:34 -0000 1.30
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:a="https://ajax4jsf.dev.java.net/ajax"
+ xmlns:a="http://richfaces.org/a4j"
template="template.xhtml">
<!-- content -->
More information about the jboss-cvs-commits
mailing list