Author: ehillenius
Date: Mon Nov 13 01:50:23 2006
New Revision: 474220
URL: http://svn.apache.org/viewvc?view=rev&rev=474220
Log:
removed date picker from examples
Modified:
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.html
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.java
Modified:
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.html
URL:
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.html?view=diff&rev=474220&r1=474219&r2=474220
==============================================================================
---
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.html
(original)
+++
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.html
Mon Nov 13 01:50:23 2006
@@ -23,9 +23,6 @@
<input wicket:id="integerProperty"
id="integerProperty" type="text" size="40"/>
<label for="doubleProperty"><wicket:message
key="double" /></label>
<input wicket:id="doubleProperty" id="doubleProperty"
type="text" size="40"/>
- <label wicket:id="dateLabel"
for="dateProperty"><wicket:message key="date" /></label>
- <input wicket:id="dateProperty" id="dateProperty"
type="text" size="40"/>
- <span wicket:id="datePicker"></span>
<label>ListView</label>
<ul>
<li wicket:id="lines">
Modified:
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.java?view=diff&rev=474220&r1=474219&r2=474220
==============================================================================
---
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.java
(original)
+++
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/forminput/FormInput.java
Mon Nov 13 01:50:23 2006
@@ -21,14 +21,11 @@
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Arrays;
-import java.util.Date;
import java.util.List;
import java.util.Locale;
import wicket.MarkupContainer;
import wicket.examples.WicketExamplePage;
-import wicket.extensions.markup.html.datepicker.DatePicker;
-import wicket.markup.html.WebMarkupContainer;
import wicket.markup.html.basic.Label;
import wicket.markup.html.form.Button;
import wicket.markup.html.form.Check;
@@ -103,14 +100,6 @@
"integerProperty", Integer.class);
integerTextField.add(NumberValidator.POSITIVE);
new RequiredTextField<Double>(this, "doubleProperty",
Double.class);
- // we have a component attached to the label here, as
we want to
- // synchronize the
- // id's of the label, textfield and datepicker. Note
that you can
- // perfectly
- // do without labels
- WebMarkupContainer dateLabel = new
WebMarkupContainer(this, "dateLabel");
- TextField datePropertyTextField = new
TextField<Date>(this, "dateProperty", Date.class);
- new DatePicker(this, "datePicker", dateLabel,
datePropertyTextField);
new RequiredTextField<Integer>(this,
"integerInRangeProperty", Integer.class)
.add(NumberValidator.range(0, 100));
new CheckBox(this, "booleanProperty");