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 2019/06/08 05:59:36 UTC
[wicket] branch wicket-8.x updated: Update forms2_9.adoc (#369)
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch wicket-8.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/wicket-8.x by this push:
new 468161a Update forms2_9.adoc (#369)
468161a is described below
commit 468161aa5187fb56379313c8a009f9c1991a65d9
Author: Ken Geis <ge...@gmail.com>
AuthorDate: Fri Jun 7 22:57:32 2019 -0700
Update forms2_9.adoc (#369)
fix spelling
(cherry picked from commit 5df103a440d8ac324a8e679031d50d7d4150a2ba)
---
wicket-user-guide/src/main/asciidoc/forms2/forms2_9.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wicket-user-guide/src/main/asciidoc/forms2/forms2_9.adoc b/wicket-user-guide/src/main/asciidoc/forms2/forms2_9.adoc
index 2bca34c..4df5682 100644
--- a/wicket-user-guide/src/main/asciidoc/forms2/forms2_9.adoc
+++ b/wicket-user-guide/src/main/asciidoc/forms2/forms2_9.adoc
@@ -28,7 +28,7 @@ Our custom component will contain two children components: a text field to let u
<wicket:panel>
Registered temperature: <input size="3" maxlength="3"
wicket:id="registeredTemperature"/>
- <label wicket:id="mesuramentUnit"></label>
+ <label wicket:id="measurementUnit"></label>
</wicket:panel>
</body>
</html>
@@ -56,7 +56,7 @@ public class TemperatureDegreeField extends FormComponentPanel<Double> {
IModel<String> labelModel = () -> getLocale().equals(Locale.US) ? "°F" : "°C";
- add(new Label("mesuramentUnit", labelModel));
+ add(new Label("measurementUnit", labelModel));
add(userDegree=new TextField<Double>("registeredTemperature", new
Model<Double>()));
userDegree.setType(Double.class);