Skip navigation

DatePicker

A datepicker for @twitter bootstrap forked from Stefan Petre's (of eyecon.ro), improvements by @eternicode

Example

DOC.

//HTML
<form><input wicket:id="default"></form>
//JAVA
add(new DateTextField("default"));

Example

DOC.

//HTML
<form><input wicket:id="birthday"></form>
//JAVA
add(new DateTextField("birthday",
		 new DateTextFieldConfig()
			.autoClose(true)
			.withView(DateTextFieldConfig.View.Decade)
			.showTodayButton(true)
			.withStartDate(new DateTime().withYear(1900));

Example

DOC.

//HTML
<form><input wicket:id="language"></form>
//JAVA
add(new DateTextField("language",
		 new DateTextFieldConfig()
			.autoClose(true)
			.withLanguage("es")
			.showTodayButton(true);

Example

DOC.

Open Modal Dialog