Well this is no datepicker, its just a simple implementation of the 3 DropDown boxes.
 
it's here... i made it for one application i am working on so you can share it with me pending the time the Wicket team releases one

To use it is like:
 

(Java)

 form.add(dateHidden = new HiddenField("dateField"));
   form.add(dateSelect = new DateSelectorPanel("datePanel", dateHidden));
  

(html)   

<input wicket:id="dateField" type="hidden"></input>
 <div wicket:id="datePanel"></div>

The idea i used is simply to inject a Date Object into a HiddenField.


And Ensure that dateField is a java.util.Date property in your Form Model. Leave the rest to the Wicket magic.

 

Reply via email to