[jboss-cvs] jboss-seam/seam-gen/view ...
Gavin King
gavin.king at jboss.com
Sun Dec 3 22:11:04 EST 2006
User: gavin
Date: 06/12/03 22:11:04
Modified: seam-gen/view edit.xhtml.ftl
Log:
size for date fields
Revision Changes Path
1.15 +4 -0 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.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- edit.xhtml.ftl 4 Dec 2006 03:06:04 -0000 1.14
+++ edit.xhtml.ftl 4 Dec 2006 03:11:04 -0000 1.15
@@ -37,6 +37,8 @@
<s:decorate>
<#if property.value.typeName == "date">
<h:inputText id="${property.name}"
+ maxlength="10"
+ size="10"
<#if propertyIsId>
disabled="${'#'}{${homeName}.managed}"
</#if>
@@ -48,6 +50,7 @@
</h:inputText>
<#elseif property.value.typeName == "time">
<h:inputText id="${property.name}"
+ size="5"
<#if !column.nullable>
required="true"
</#if>
@@ -56,6 +59,7 @@
</h:inputText>
<#elseif property.value.typeName == "timestamp">
<h:inputText id="${property.name}"
+ size="16"
<#if !column.nullable>
required="true"
</#if>
More information about the jboss-cvs-commits
mailing list