date picker start date is 6 months before todays date
This commit is contained in:
parent
d8c7a9e436
commit
19f19af1a4
@ -30,6 +30,7 @@ import org.apache.wicket.model.Model;
|
||||
import org.apache.wicket.model.util.ListModel;
|
||||
import org.apache.wicket.spring.injection.annot.SpringBean;
|
||||
import org.apache.wicket.validation.validator.StringValidator;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
import se.su.dsv.scipro.components.DatePickerPanel;
|
||||
import se.su.dsv.scipro.components.ProjectClassSelector;
|
||||
@ -110,7 +111,10 @@ public class AdminMailPanel extends Panel {
|
||||
labelContainer.add(projectPickerLabel);
|
||||
labelContainer.add(ideaPickerLabel);
|
||||
add(labelContainer);
|
||||
dpp = new DatePickerPanel("datePanel");
|
||||
|
||||
DateTime start = new DateTime();
|
||||
start = start.minusMonths(6);
|
||||
dpp = new DatePickerPanel("datePanel", start.toDate(), null);
|
||||
add(dpp);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user