[jboss-cvs] jboss-seam/seam-gen/view ...

Gavin King gavin.king at jboss.com
Fri Feb 9 23:38:43 EST 2007


  User: gavin   
  Date: 07/02/09 23:38:43

  Modified:    seam-gen/view    edit.xhtml.ftl editproperty.xhtml.ftl
                        viewproperty.xhtml.ftl
  Log:
  fix datetime handling
  
  Revision  Changes    Path
  1.33      +2 -2      jboss-seam/seam-gen/view/edit.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: edit.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/edit.xhtml.ftl,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -b -r1.32 -r1.33
  
  
  
  1.2       +6 -6      jboss-seam/seam-gen/view/editproperty.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: editproperty.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/editproperty.xhtml.ftl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- editproperty.xhtml.ftl	9 Feb 2007 23:40:28 -0000	1.1
  +++ editproperty.xhtml.ftl	10 Feb 2007 04:38:43 -0000	1.2
  @@ -21,7 +21,7 @@
                                         required="true"
   </#if>
   		        	                     value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
  -		        	               <f:convertDateTime type="date" dateStyle="short" pattern="MM/dd/yyyy"/>
  +		        	               <s:convertDateTime type="date" dateStyle="short" pattern="MM/dd/yyyy"/>
   		        	           </h:inputText>
   		        	           <s:selectDate for="${property.name}">
   		        	               <h:graphicImage url="img/dtpick.gif" style="margin-left:5px"/>
  @@ -33,7 +33,7 @@
                                         required="true"
   </#if>
   		        	                     value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
  -		        	               <f:convertDateTime type="time"/>
  +		        	               <s:convertDateTime type="time"/>
   		        	           </h:inputText>
   <#elseif propertyType == "timestamp">
   		        	           <h:inputText id="${componentProperty.name}" 
  @@ -42,7 +42,7 @@
                                         required="true"
   </#if>
   			                             value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
  -			                       <f:convertDateTime type="both" dateStyle="short"/>
  +			                       <s:convertDateTime type="both" dateStyle="short"/>
   			                   </h:inputText>
   <#elseif propertyType == "big_decimal">
   			                   <h:inputText id="${componentProperty.name}" 
  @@ -137,7 +137,7 @@
                                         required="true"
   </#if>
   		        	                     value="${'#'}{${homeName}.instance.${property.name}}">
  -		        	               <f:convertDateTime type="date" dateStyle="short" pattern="MM/dd/yyyy"/>
  +		        	               <s:convertDateTime type="date" dateStyle="short" pattern="MM/dd/yyyy"/>
   		        	           </h:inputText>
   		        	           <s:selectDate for="${property.name}">
   		        	               <h:graphicImage url="img/dtpick.gif" style="margin-left:5px"/>
  @@ -149,7 +149,7 @@
                                         required="true"
   </#if>
   		        	                     value="${'#'}{${homeName}.instance.${property.name}}">
  -		        	               <f:convertDateTime type="time"/>
  +		        	               <s:convertDateTime type="time"/>
   		        	           </h:inputText>
   <#elseif propertyType == "timestamp">
   		        	           <h:inputText id="${property.name}" 
  @@ -158,7 +158,7 @@
                                         required="true"
   </#if>
   			                             value="${'#'}{${homeName}.instance.${property.name}}">
  -			                       <f:convertDateTime type="both" dateStyle="short"/>
  +			                       <s:convertDateTime type="both" dateStyle="short"/>
   			                   </h:inputText>
   <#elseif propertyType == "big_decimal">
   			                   <h:inputText id="${property.name}" 
  
  
  
  1.2       +6 -6      jboss-seam/seam-gen/view/viewproperty.xhtml.ftl
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: viewproperty.xhtml.ftl
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/viewproperty.xhtml.ftl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- viewproperty.xhtml.ftl	9 Feb 2007 22:50:39 -0000	1.1
  +++ viewproperty.xhtml.ftl	10 Feb 2007 04:38:43 -0000	1.2
  @@ -8,15 +8,15 @@
                   <td class="value" id="${componentProperty.name}">
   <#if propertyType == "date">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
  -                        <f:convertDateTime type="date" dateStyle="short"/>
  +                        <s:convertDateTime type="date" dateStyle="short"/>
                       </h:outputText>
   <#elseif propertyType == "time">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
  -                        <f:convertDateTime type="time"/>
  +                        <s:convertDateTime type="time"/>
                       </h:outputText>
   <#elseif propertyType == "timestamp">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
  -                        <f:convertDateTime type="both" dateStyle="short"/>
  +                        <s:convertDateTime type="both" dateStyle="short"/>
                       </h:outputText>
   <#elseif propertyType == "big_decimal">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}.${componentProperty.name}}">
  @@ -40,15 +40,15 @@
                   <td class="value" id="${property.name}">
   <#if propertyType == "date">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}}">
  -                        <f:convertDateTime type="date" dateStyle="short"/>
  +                        <s:convertDateTime type="date" dateStyle="short"/>
                       </h:outputText>
   <#elseif propertyType == "time">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}}">
  -                        <f:convertDateTime type="time"/>
  +                        <s:convertDateTime type="time"/>
                       </h:outputText>
   <#elseif propertyType == "timestamp">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}}">
  -                        <f:convertDateTime type="both" dateStyle="short"/>
  +                        <s:convertDateTime type="both" dateStyle="short"/>
                       </h:outputText>
   <#elseif propertyType == "big_decimal">
                       <h:outputText value="${'#'}{${homeName}.instance.${property.name}}">
  
  
  



More information about the jboss-cvs-commits mailing list