Here’s how you might use it in practice:
add(DateTextField.forDatePattern("date", "MM/dd/yyyy") .setRequired(true) .add(new JQueryDatePicker()) );
In keeping with the fiftyfive-wicket-js design philosophy, this Java class is extremely lightweight, allowing programmatic access only to change the button image that is used by the picker. This should suffice for most simple date picker use cases. If you want a different set of date picker behavior, write a subclass and provide your own accompaning JavaScript file to peform the desired initialization. @since 2.0
|
|
|
|