You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/02/09 12:01:15 UTC
git commit: WICKET-4386 Add maxlength to wicket-datetime hours,
minutes input fields
Updated Branches:
refs/heads/wicket-1.5.x 722b2804f -> 100e7d283
WICKET-4386 Add maxlength to wicket-datetime hours, minutes input fields
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/100e7d28
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/100e7d28
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/100e7d28
Branch: refs/heads/wicket-1.5.x
Commit: 100e7d283fd61a62892c92f7cf8e8e57269d7a7a
Parents: 722b280
Author: martin-g <mg...@apache.org>
Authored: Thu Feb 9 13:01:06 2012 +0200
Committer: martin-g <mg...@apache.org>
Committed: Thu Feb 9 13:01:06 2012 +0200
----------------------------------------------------------------------
.../extensions/yui/calendar/DateTimeField.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/100e7d28/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.html
----------------------------------------------------------------------
diff --git a/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.html b/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.html
index 651ad84..c714db3 100644
--- a/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.html
+++ b/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.html
@@ -18,9 +18,9 @@
<wicket:panel xmlns:wicket="http://wicket.apache.org">
<span style="white-space: nowrap;">
<input type="text" wicket:id="date" size="12" />
- <input type="text" wicket:id="hours" size="2" />
+ <input type="text" wicket:id="hours" size="2" maxlength="2" />
<span wicket:id="hoursSeparator"> :</span>
- <input type="text" wicket:id="minutes" size="2" />
+ <input type="text" wicket:id="minutes" size="2" maxlength="2" />
<select wicket:id="amOrPmChoice"></select>
</span>
</wicket:panel>
\ No newline at end of file