You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2016/04/07 00:20:29 UTC

wicket git commit: WICKET-6138 added javadoc for value in floating-point representation

Repository: wicket
Updated Branches:
  refs/heads/master 7b10fa39a -> 8dc94a26d


WICKET-6138 added javadoc for value in floating-point representation


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/8dc94a26
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/8dc94a26
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/8dc94a26

Branch: refs/heads/master
Commit: 8dc94a26d6b42bb5b6f6a8c7e15dbc247c98ec3b
Parents: 7b10fa3
Author: Sven Meier <sv...@apache.org>
Authored: Thu Apr 7 00:20:17 2016 +0200
Committer: Sven Meier <sv...@apache.org>
Committed: Thu Apr 7 00:20:17 2016 +0200

----------------------------------------------------------------------
 .../org/apache/wicket/markup/html/form/NumberTextField.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/8dc94a26/wicket-core/src/main/java/org/apache/wicket/markup/html/form/NumberTextField.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/NumberTextField.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/NumberTextField.java
index 0b5cc92..f0c995c 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/NumberTextField.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/NumberTextField.java
@@ -29,7 +29,10 @@ import org.apache.wicket.validation.validator.RangeValidator;
 
 /**
  * A {@link TextField} for HTML5 &lt;input&gt; with type <em>number</em>.
- * 
+ * <p>
+ * The {@code <input>}'s value will be rendered in floating-point representation, as required by
+ * the <a href="https://www.w3.org/TR/html-markup/input.number.html">HTML specification</a>. Use a simple
+ * {@code TextField} to use a locale specific conversion of numbers.
  * <p>
  * Automatically validates the input against the configured {@link #setMinimum(N) min} and
  * {@link #setMaximum(N) max} attributes. If any of them is <code>null</code> then respective