Skip to content

Commit

Permalink
[html5] Fixing converter errors in some examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
akiraly committed Apr 3, 2011
1 parent 4ea77c2 commit e30631f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -22,7 +22,7 @@ public NumberFieldDemo(PageParameters parameters) {

Model<Double> model = Model.of();
NumberTextField<Double> numberField = new NumberTextField<Double>(
"number", model);
"number", model, Double.class);
numberField.setRequired(false);
form.add(numberField);
numberField.setMinimum(4.0d);
Expand Down
Expand Up @@ -20,7 +20,7 @@ public RangeTextFieldDemo() {
add(form);

RangeTextField<Double> rangeTextField = new RangeTextField<Double>(
"range", model);
"range", model, Double.class);
form.add(rangeTextField);

rangeTextField.setMinimum(1.4d);
Expand Down

0 comments on commit e30631f

Please sign in to comment.