[jboss-cvs] jboss-seam/examples/jpa/view ...
Peter Muir
peter at bleepbleep.org.uk
Thu Sep 6 18:57:33 EDT 2007
User: pmuir
Date: 07/09/06 18:57:33
Modified: examples/jpa/view book.xhtml conversations.xhtml
Log:
Deprecate s:selectDate - JBSEAM-1870
Revision Changes Path
1.12 +6 -18 jboss-seam/examples/jpa/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/jpa/view/book.xhtml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- book.xhtml 16 Jul 2007 16:13:44 -0000 1.11
+++ book.xhtml 6 Sep 2007 22:57:33 -0000 1.12
@@ -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 -->
@@ -60,13 +61,7 @@
<div class="label"><h:outputLabel for="checkinDate">Check In Date:</h:outputLabel></div>
<div class="input">
<s:decorate id="checkinDateDecorate">
- <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>
</div>
</div>
@@ -75,17 +70,10 @@
<div class="label"><h:outputLabel for="checkoutDate">Check Out Date:</h:outputLabel></div>
<div class="input">
<s:decorate id="checkoutDateDecorate">
- <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>
</div>
</div>
-
<div class="entry">
<div class="label"><h:outputLabel for="beds">Room Preference:</h:outputLabel></div>
<div class="input">
1.5 +6 -4 jboss-seam/examples/jpa/view/conversations.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: conversations.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/view/conversations.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- conversations.xhtml 4 Sep 2007 16:48:51 -0000 1.4
+++ conversations.xhtml 6 Sep 2007 22:57:33 -0000 1.5
@@ -1,10 +1,11 @@
-<!DOCTYPE div PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<div xmlns="http://www.w3.org/1999/xhtml"
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:s="http://jboss.com/products/seam/taglib">
+<div>
<div class="section">
<h1><h:outputText rendered="#{not empty conversationList}" value="Workspaces"/></h1>
@@ -32,3 +33,4 @@
</div>
</div>
\ No newline at end of file
+</ui:composition>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list