Package com.googlecode.wicketcontinuouscalendar.wicket6

Examples of com.googlecode.wicketcontinuouscalendar.wicket6.ContinuousCalendarBehavior


     * @param endDateModel      {@link IModel} for the <code>To</code> hidden {@link DateTextField} and visible label
     */
    public SimpleCalendarPanel(String id, IModel<ContinuousCalendarOptions> optionsModel,
            IModel<Date> startDateModel, IModel<Date> endDateModel) {
        super(id);
        ContinuousCalendar continuousCalendar = new ContinuousCalendar("continuousCalendar", optionsModel);
        add(continuousCalendar);
       
        startDateTextField = DateTextField.withConverter(
            "startDate", startDateModel, getDateConverter()
        );
        continuousCalendar.add(startDateTextField);
       
        endDateTextField = DateTextField.withConverter(
            "endDate", endDateModel, getDateConverter()
        );
        continuousCalendar.add(endDateTextField);
    }
View Full Code Here

TOP

Related Classes of com.googlecode.wicketcontinuouscalendar.wicket6.ContinuousCalendarBehavior

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.